



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The process of creating a c++ program, including the role of preprocessor directives, the structure of the program with a focus on the function main, and the syntax of declaration and executable statements. Students in csci 152 (programming fundamentals ii) during summer 2008 will find this information essential for completing assignment #1.
Typology: Assignments
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Summer 2008
June 5, 2008
(^) Every C++ program has a function main (^) Basic parts of function main are: (^) The heading (^) The body of the function
(^) The body of the function is enclosed between { and } (^) Has two types of statements (^) Declaration statements Executable statements (^) Errors in syntax are found in compilation int x; //Line 1 int y //Line 2: syntax error double z; //Line 3 y = w + x; //Line 4: syntax error