CS 23021: Laboratory
Problem Solving with C++,
Walter Savitch
Many thanks to Mike Collard Ph.D. and Dale Haverstock, Kent State University for Lab1 and Lab2.
Thanks to Shannon Steinfadt for her reviews.
Many thanks to Rahman Tashakkori, Ph.D., Appalachian State University
,Boone,
NC 28608
for the Lab Manual.
Labs have been modified, corrected and revised by Angela Guercio
|
|
|
| Lab 1 | Title: Programming
Environment Experiments Lab Notebook Sample Lab Report |
| Lab 2 |
Title: Introduction to Programming
Getting started Experiments PreLab3 |
| Lab 3 |
Title: Introduction to computers and
C++ programming
Activity 3.1 - Program Design Process Activity 3.2 - A Simple C++ Program Post_lab PreLab4 |
| Lab 4 |
Title: C++ basics
Activity 4.1 - Variables and Assignments Activity 4.2 - Simple Flow of Control. if Statement. if ... else Statement Activity 4.3 - Simple Flow of Control. while ... loop Statement. do ... while Statement Activity 4.4 - Simple Flow of Control. Conditional while and do ... while loops Post_lab - Solving Quadratic Equation PreLab5 |
| Lab 5 | Activity 5.1 - Predefined Functions Activity 5.2 - Type Casting Activity 5.3 - Functions that return a value Activity 5.4 - Function Overloading Procedural Abstraction Post-lab |
| Lab 6 | Experiencing IDE |
| Lab 7 | Multiple Files and Make |
| Lab 8 | Classes and Constructors |
| Lab 9 | CCC Week -
Challenge yourself or
Catch Up or (more)
Classes Challenge yourself: Classes and Graphics Catch Up: Work on any Lab you must complete. (more) Classes: One More Problem with Classes |
| Lab 10 | Functions for All Subtasks |
| Lab 11 |
Title: Intro to I/O Streams
Activity 11.1 - Reading from/Writing to a File Using Streams for Program I/O |
| Lab 12 |
Title:
I/O Streams
Activity 12.1 - Streams as Arguments to Functions Activity 12.2 - Reading to the End of a File Member Functions get and put Member Function eof Activity 12.3 - Predefined Character Functions in cctype (ctype) Post-lab - A simple html converter |
| Lab 13 |
Title:
Arrays
Activity 13.1 - Introduction to Arrays Activity 13.2 - Arrays in Functions Activity 13.3 - Arrays as Class Members Activity 13.4 - Two Dimensional Arrays (optional) Post-lab - Image Processing Tool (optional) |
| Lab 14 |
Title:
Strings
Activity 14.1 - Introduction to Strings, C-String Functions Activity 14.2 - The Standard String Class Activity 14.3 - Converting Between String Objects and C-String (Example: file I/O) Post-lab - Check your knowledge of Strings and C-strings |
Lab 15 | Title:
Pointers, Dynamic Arrays and Vectors
Activity 15.1 - Vectors Activity 15.2 - Introduction to pointers Activity 15.3 - Dynamic Arrays Activity 15.4 - Destructors and Copy Constructors |