Chapter 5: Simple Programs

 < Day Day Up > 



Learning Objectives

  • Describe what constitutes a minimum well-formed C++ program

  • List the keywords reserved for use by the C++ language

  • State the purpose of variables, constants, expressions, and statements

  • Demonstrate your ability to declare, define, and use variables

  • Demonstrate your ability to declare, define, and use constants

  • List and describe the purpose of the C++ fundamental data types

  • Determine data type sizes with the sizeof operator

  • Utilize variables and constants in simple C++ programs

  • List the native C++ operators and state their precedence

  • Write C++ programs using simple and compound statements

  • Describe variable scoping and state how the block structure of C++ can affect variable visibility

  • Utilize simple input and output techniques using the cin and cout objects

  • Describe the required parts of a minimal C++ program

  • Utilize an IDE’s disassembly tool to gain deeper understanding of C++ program structure

  • List and describe the parts of a typical C++ program to include source files, main() function, library files, and preprocessor directives



 < Day Day Up > 



C++ for Artists. The Art, Philosophy, and Science of Object-Oriented Programming
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors: Rick Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net