ANSI C Programming: The Standard Library and Preprocessor

Course Status: Released
Course Language: English
Course Duration: 4 Hours
Deployment Options: Online, Interactive CDs, Network, Downloads, Intranet

Audience
Experienced C programmers and software developers needing to write ANSI C programs to do general input-output and file processing
Prerequisites
Awareness of programming concepts; experience of using a third-generation, high-level language such as Pascal, PL/1, BASIC, or FORTRAN
Course Aim
To instruct the student in programming file and other I/O operations in ANSI C and how to implement facilities from the standard library
Learning Objectives
Describe how to write ANSI C code to manipulate simple files.
Explain the difference between files and streams.
Describe how to write ANSI C code to do random file access.
Outline how to use functions from the standard library.
Describe how to use the preprocessor for conditional compilation and debugging.
Discuss how to use command-line arguments.
Topics Covered
Standard files
-
Library and header files
- The printf() function
- The scanf() function
File handling
-
Introducing file handling
- Further file handling
- Hands-on: Using buffered I/O functions
- String handling
The preprocessor
-
Command-line arguments
- Using #include and #define
- Conditional compiling and debugging

| About Eno.com | Security&Privacy | Contact Us |
Copyright © 1995-2005 E&A Inc.. All rights reserved.