lmayer@elgin.edu

Variables

Lecture 3 OBJECTIVES

After completing this class, students will be able to:

  • Compile and link a program
  • Explain the Compiler Link process
  • Debug a program
  • Explain the difference between Warnings & Errors
  • Explain the difference between Syntax errors, Logic errors & Runtime errors
  • Explain what variables are
  • Use the proper syntax for variable declarations
  • Use assignment statements correctly
  • Identify the proper data type to use for a variable
  • Convert a series of math operations into a syntactically correct C++ math expression
  • Explain the difference between integer and floating point division.
  • Use precedence and parenthesis correctly
  • Place comments in a C++ program

Reading Assignment:Savitch:
Section 2.2, Pages 46 - 54 (Input/Output)
Section 5.2 (first part), Pages 216-231 (Formatting)

Click here for the Presentation.

Homework Assignment: Catalog of Errors
Programming Project 6, pages 33 - 34

 

 

Previous Lecture                             Next Lecture