This comprehensive book teaches the reader how to design and write portable elementary, intermediate and advanced batch and interactive ANSI C programs in their entirety, that are easy to read, debug, modify and maintain. The book and accompanying programs comprise a total package designed to satisfy all ANSI C needs in any of the programming environments that embrace the C Standard. The authors incorporate a build-as-you go method beginning the text with a complete billing application programming problem and progressively solving the problem chapter by chapter as programming knowledge grows thereby training the reader to develop programs in a modular, top-down way, as well as maintain and modify code. It also provides useful techniques for maintaining and modifying older “legacy” programs and covers information processing and system concepts. Building Blocks, Using Variables, Introduction to I/O, Expressions, Operators, and Type Conversion, Loops and Conditional Statements, Arrays, Pointers and Strings, Functions, String-Handling & Buffer Functions, Scope and Duration, The Preprocessor, Byte Structure and Bit Manipulation, Complex Data Types and Type Conversion, Files, Dynamic Data Structures and Memory Allocation, Working with the System, Projects & Program Chaining, Controlling the PC Console - Escape Sequences, Memory and Interrupts on the PC, Video Services Interrupts on the PC, Direct Memory Access on the PC, Graphics Mode and the Mouse on the PC, ASCII/EBCDIC Characters, and Extended Keyboard Codes. For programmers, systems administrators, or anyone responsible for programming or maintaining programs and systems written in ANSI C.