This is the last week of regular classroom activities.
- NEW! Here is the payroll function demo we did in class.
- Lecture on user-defined functions.
- In-class lab on functions uses LabFunc.cpp (right-click, choose “Save As…”)
Also during labtime I will be available to help people on the homework problem if you are still stuck.
The Final Exam is NOT cumulative as reported earlier (whew!) There will be no number conversions and so on. Topics covered are
- Process Management
- Introduction to C++
- Variables and operators
- Types and I/O
- User-written functions
It has been my great privilege to be able to introduce you to computer science and I strongly feel that each of you will do extremely well to go to take CPS 171 C++ Programming or CPS 161 Java Programming.
This week we are going to get into gross detail on how to do loops in C++: for-loop, while-loop, and do-while loop. Items are as follows (and we will do them in this order!)
Lab on Loops (hand in by end of class)
- LabLoops.cpp you will load this into Visual Studio and compile it (Right-click the link and choose “Save As…” from your browser)
- LabLoops.txt this is the data file you’ll be using with LabLoops.cpp
Homework extension YAY!!
You have until May 1 to complete the coupon program.
You can use this version of Visual Studio to get you through the last 4 weeks of the class if you don’t have it already or don’t want to buy it yet. If you go on to take CPS171, you’ll definitely (probably) want to buy it at some point. Make sure you download the “C++ Edition”, not any of the other choices
Welcome to Week #8!
Please NOTE: you will need to create the tables for this problem yourself. Khaled says it should only take 10 minutes and I’ll do a demo in class where you can follow along with me. Use the data from the homework sheet to create your tables. We’ll have time in class to work on your homework on Saturday so you can get a good start on it.
Triple play this week: new PowerPoint, Homework #4, and an in-class lab (due at end of class). It will take me a couple hours to finish posting all this stuff but check back later in the day to see more….
Demos in class