Welcome to
Structured Programming with C++

This course uses C++ to introduce modern programming to people who have never programmed before. The topics covered are:

  1. Introduction to computers and programming
  2. C++ basics
  3. Procedural abstraction and functions that return a value
  4. Using functions for all subtasks
  5. Flow of Control
  6. Arrays
  7. Strings
  8. Structures
  9. Classes and Object-Oriented Programming.

Co-requisite: Mathematics 140. Students must have completed or be concurrently enrolled in Mathematics 140 to register for this course. This course satisfies the Liberal Studies Scientific Inquiry elective.

The textbook is Problem Solving with C++: The Object of Programming by Walter Savitch (Addison-Wesley, 1996). This is the first edition, not the newer second edition.



Stephen W. Ryner, Jr.
Richardson 126, LPC
773 325 7000 x 1094

Office Hours

I will be available for office hours at my Lincoln Park office on Tuesdays and Thursdays from 3:00 to 4:00 and by appointment. We will have a HyperNews group available from the course web page where you can discuss questions and problems from the lectures. You can, of course, write me email any time.


Week Date Topic Reading Quiz Due
One June 15  1. Introduction 1.1 - 1.4    
  17  2. C++ Basics 2.1 - 2.5 Q 1 HW 1
Two 22  3. Function Definition 3.1 - 3.5   HW 2
  24  4. Function Use 4.1 - 4.4 Q 2  
Three 29  5. Flow of Control 7.1 - 7.4   HW 3
  July 1  6. Arrays 9.1 - 9.2, 10.1 Q 3  
Four 6  7. Strings and Strutures 10.1, 6.1 - 6.2   HW 4
  8  8. Classes and Objects 6.2 - 6.3 Q 4  
Five 13  9. Final Review     HW 5
  15 10. Final Exam      

The Fine Print

This summer session will cover all of the material in five weeks that would take ten weeks in a regular quarter. This means we will go twice as fast as the usual class, in meetings that are twice as long. You must stay on top of the assignments. Read assigned chapters before coming to class, and waste no time completing homework. If you fall behind, it will become increasingly harder to catch up. Expect to eat, sleep, drink, think and dream C++ for the next five weeks.


We will only meet 10 times. This means we have nine meetings for lectures and a final exam. If you miss one class, you will be a week behind in the course. If you know for certain you must miss a class, plan ahead. If you think you will miss two or more classes, please drop the class now.


Homework is worth 50% of your final grade. Weekly quizzes are worth 20%. The final exam is 30%, but you must pass the final exam to pass the course. Students who do all of the homework on their own will easily pass the final.


The homework is very important. You will learn programming only if you actually write programs. You will have five homework assignments. All homework assignments (except for the very first one) will be due on Mondays. You must submit a printout of your homework at the beginning of the class when it is due. You may submit homework earlier, but late homeworks will not be accepted. No exceptions. Hand in whatever you have, working or not. Each assignment is worth 10% of your final grade.

What computer and compiler you use is up to you. Very little time will be spent in the course discussing any particular development tool.

Place the following comments, including the relevant information, at the top of your program. This is discussed in section 2.5 of the textbook:

// File Name:
// Author:
// Email:
// Assignment Number:
// Description:
// Date:

Homework assignments will be given in class. Copies of the homework assignments and solutions to previous assignments will be posted to the course web site after class.


We will have four in-class quizzes on Wednesdays at the beginning of class. Each quiz will cover old material from the previous homework, lectures, and reading assignments, not the new material for that day. You will have 15 minutes for each quiz. If you come late to class, you will have less time. Each quiz is worth 5% of your final grade. Solutions to quizzes will be posted to the course web site after class.

Final Exam

The first, last, only, and final exam will be an in-class exam on Wednesday, July 15. The final exam is worth 30% of your final grade. The format and topics for the final exam will be reviewed on Monday, July 13.

Plagiarism and Cheating

If you hand in work that isn't yours, you will receive and F in the course. The appropriate dean will be informed in writing if this happens. The dean will be advised that students assigned an F for cheating should not be permitted to change their grade for any reason.

Here are some suggestions of situations that may or may not be cheating. This list is not exhaustive.

Examples of Cheating
Not Cheating

By submitting work for grading, you are claiming the work is your own. Note it is acceptable, even encouraged, for you to discuss in detail a program after it has been submitted for grading. You can learn a lot by working with others. The key distinction is you may not misrepresent the work of others as your own, so collaboration on an assignment before you submit it as your own work is cheating.