CIS 1500 Lecture Notes - Lecture 3: Gnu Compiler Collection, Scanf Format String, Number Sign
Document Summary
A c skeleton: the most basic c program does nothing, from the basic program you can start coding any algorithm, the basic program is called a program skeleton, add image of skelton from slides. #include: any words in the source code that begin with a number sign (pound sign) are preprocessor directives, executed before the actually compiling of the program, #include is the first preprocessor directive needed. It has printing, file reading, and keyboard input functions. Common program structure: most programs consist of blocks of code that have specific purposes, common blocks, declaring variables, providing information to the user, getting info from the user.