C by Dissection: The Essentials of C ProgrammingC by Dissection presents a thorough introduction to the programming process by carefully developing working programs to illuminate key features of the C programming language. This book presents the concepts of the programming process using the "dissection" method. Dissection is a unique pedagogical tool first developed by the authors to point out key features of program code. It is similar to a structured walk-through of the code, with the intention of explaining newly encountered programming elements and idioms as found in working code. The book assumes no programming background and can be used by first time computer users or by experienced programmers who are transitioning to C. Each chapter presents a number of carefully explained programs, which lead the reader in a holistic manner to ever-improving programming skills. Right from the start, the reader is introduced to complete programs, and at an early point in the book, the reader is introduced to writing functions as a major feature of structured programming. This edition takes into account the fact that many people are learning Java as a first language and then going to C, or vice-versa. It calls out those topics that present a challenge when transitioning from Java and C (e.g. i/o, data types). Exercises have been added to these chapters that engage the reader to compare the differences between the languages. |
From inside the book
Results 1-3 of 47
... preprocessing directive of the form #include < filename > the preprocessor looks for the file only in standard places . In UNIX systems , the standard header files such as stdio.h , math.h , string.h , and stdlib.h are typically found ...
... Preprocessor Lines that begin with a # are called preprocessing directives . These lines communi- cate with the preprocessor . In traditional C , preprocessing directives were required to begin in column 1. In ANSI C , this restriction ...
... preprocessing directives . These lines communicate with the preprocessor . In ANSI C , the # can be pre- ceded on the line by white space , whereas in traditional C , it must occur in column 1. The syntax for preprocessing directives is ...