Search for tag: "course"

Unit 15, Section 4: Test program revisited

This video describes code to generate the needed declares, the code to generate the source assignments, and what is produced from the test program shown in a previous video (Unit 15, section 1).

From  5500031CVP 5500031CVP

Unit 15, Section 3: Conditional compilation directives

This video describes how to create code that is conditionally compiled in (or out) depending on expressions.

From  5500031CVP 5500031CVP

Unit 15, Section 2: Macro definition directives

This video describes definition directives in C and PL/I, the PL/I macro facility, macro variable data and storage attributes, macro string- and text-handling built-in functions, the MDECK compiler…

From  5500031CVP 5500031CVP

Unit 15, Section 1: File inclusion directives

This video describes test case generation, compares including files in C versus PL/I, and how to use %INCLUDE and %XINCLUDE statements.

From  5500031CVP 5500031CVP

Unit 14, Section 3: Built-in functions useful in data checking

This video describes built-in functions that you can use for data checking: TRIM, INLIST, VERIFY, and BETWEEN.

From  5500031CVP 5500031CVP

Unit 14, Section 2: Based storage with non-constant extents

This video describes C flexible arrays, the based structure in PL/I and the refer attribute, and implicit locator qualification.

From  5500031CVP 5500031CVP

Unit 14, Section 1: Passing a parameter to main in PL/I

This video describes how to specify that main has a parameter.

From  5500031CVP 5500031CVP

Unit 13, Section 3: The ternary operator in PL/I

This video describes the ifthenelse built-in function and PL/I array statements.

From  5500031CVP 5500031CVP

Unit 13, Section 2: Types of storage classes in PL/I

This video describes default types of storage classes: package-level and procedure-level. This video also covers explicit storage classes: automatic, constant, and static.

From  5500031CVP 5500031CVP

Unit 13, Section 1: The Towers of Hanoi and the RECURSIVE function

This video and others in this unit describe how you can write PL/I code to solve the Towers of Hanoi problem, which is a mathematical game or puzzle consisting of three rods and a number of disks of…

From  5500031CVP 5500031CVP

Unit 12, Section 3: Declaring function prototypes

This video describes simple qsort parameters in PL/I and function pointers.

From  5500031CVP 5500031CVP

Unit 12, Section 2: By reference and by value

This video compares how in C, all parameters are passed by value. However, in PL/I, by default, parameters are passed by reference.

From  5500031CVP 5500031CVP

Unit 12, Section 1: Declaring a function

This video compares how you declare a function in both C and PL/I. The video also talks about prototyping functions in PL/I.

From  5500031CVP 5500031CVP

Unit 11, Section 3: Handling conditions in PL/I

This video describes several statements that you can use to handle conditions in Pl/I including ON, RESIGNAL, and ENDFILE.

From  5500031CVP 5500031CVP

Unit 11, Section 2: Enabling safety checking in your code

This video describes conditions, such as STRINGSIZE, SUBSCRIPTRANGE, block prefixes, and compiler options, that you can enable that will cause the compiler to generate extra code to check the…

From  5500031CVP 5500031CVP

Unit 11, Section 1: String searching and splicing functions

This video describes how you can search for a character in a set, search for a character not in a set, and splice a string out of a longer string.

From  5500031CVP 5500031CVP