This course addresses two major areas of C programming: pointers and input/output. The majority of C Language programs use pointers. This course teaches the techniques for working with pointers and functions and performing input /output functions. It covers retrieving input from the keyboard, the getch( ) function, the fundamentals of performing multiple character input, and using scanf( ) to read character strings from the keyboard. Two C library functions are described that enable a program to transfer between one storage location and another, and reformat the location in the process. Also covered is writing C code to the standard DOS printer and how writing to a printer differs from writing to a monitor. This course is not written to a specific version.
Unit 1: Pointers
- Pointer Use
- Pointer Arithmetic
- Pointers and Functions
Unit 2: Input/Output Functions
- Standard I/O functions
- Console and Port I/O Functions
- Multiple Character Input/Output
- String Input/Output
- Memory Input/Output
Unit 3: File Input/Output
- Writing Files Line by Line
- Appending Data to a File
- Reading Data from a File
- Reading Files Word by Word
- Reading Lines
- Printing Files