CSC 1100 Lecture Notes - Lecture 6: Semicolon, Filename Extension, Include Directive

63 views15 pages

Document Summary

Become familiar with the basic components of a c++ program, including functions, special symbols, and identifiers in c++ Examine how a program evaluates arithmetic expressions. Become familiar with the string data type. Learn what an assignment statement is and what it does: objectives (cont"d. ) Discover how to input data into memory using input statements. Become familiar with the use of increment and decrement operators. Examine ways to output results using output statements. Learn how to use preprocessor directives and why they are necessary: objectives (cont"d. ) Explore how to properly structure a program, including using comments to document a program. Learn how to write a c++ program. Sequence of statements whose objective is to accomplish a task. Process of planning and creating a program. A quick look at a c++ program (cont"d. ) Variable: a memory location whose contents can be changed. Function (or subprogram): collection of statements; when executed, accomplishes something.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents