Textbook:                  Introduction to Programming with C++, 2nd edition

Y. Daniel Liang

                                    Pearson Prentice Hall 2010

Data Base: All MSOE Courses

 

CS 150                                                                                        Fall 2009

Week

Topics

Textbook Sections

1

Introduction, Microsoft Visual C++ Compiler; compiling and running a simple C++ program with keyboard input and file output.

Chapters 1,  2

       and pages 122 to 125

2

C++ data types and operators; arithmetic statements.

Download assignment 2 and code for lab.

Chapters 2 and 3

3

C++ statements continued; if statements; relational operators; switch statement.

Loops – for, while, and do while; nested loops.

Chapter 4

4

Nested loops; Review. 

Down load old exam.

Chapter 4

5

Introduction to Functions.

Chapter 5

6

Functions continued – pass by value verses pass by reference. 

Chapter 5

7

One-dimensional arrays.

Chapter 6

8

Arrays and functions, introduction to GUI program.

Chapter 6

9

GUI program. 

 

10

Review

 

11

 

Final Exam