Students will receive a thorough introduction to the basic syntax and structure of the C++ programming language. Students will create C++ applications that define variables and arrays and that use if statements, switch/case statements, for loops and while loops. Students will create functions and pass information into functions by value and by reference using pointers. Students will build applications made up of several files. This course is a good introduction for those that have never programmed before. Students will need access to a C++ compiler. There are compilers available for download.
Objectives
Students will be able to write, compile and run a very basic C++ program.
Students will be able to use C++ programming statements to define variables, perform calculations, accept user input and produce output.
Students will create C++ programs that contain formulas containing a mix of data types, define enumerations and illustrate the scope of variables.
Students will create C++ programs that use if and switch-case statements.
Students will write C++ programs that use for, while and do-while loops.
Students will be able to write C++ programming statements using for and while loops.
Students will write C++ programs that use pointers.
Students will be able to write C++ programs that use functions that accept input and return values.
Students will write C++ programs that are made up of several files and use Preprocessor directives.
Students will be able to write a C++ program that combines the information learn in this class.
Book
Ivor Horton's Beginning C++ : The Complete Language ANSI/ISO Compliant
Author Ivor Horton Publisher APress ISBN 1590592271
Lesson 1: Getting Started
Read Chapter 1
Lesson 2: Defining Variables and Performing Calculations
Read Chapter 2
Lesson 3: More on Handling Basic Data Types
Read Chapter 3
Lesson 4: Choices and Decisions
Read Chapter 4.
Lesson 5: Loops
Read Chapter 5
Lesson 6: Arrays and Strings
Read Chapter 6
Lesson 7: Pointers
Read Chapter 7
Lesson 8: Functions
Read Chapter 8
Lesson 9: Program File and the Preprocessor
Read Chapter 10
Lesson 10: Review
Review Chapters 1 - 8, and 10.
All content of this document is copyrighted by IDEA Solutions and the author. All rights reserved. Content may not be used without permission.