CIS15/CIS615 ADVANCED PROGRAMMING TECHNIQUES
Textbook
Required Text:
Starting Out with C++: From Control Structures through Objects (5th Edition) by Tony Gaddis
Recommended Text:
Just Enough UNIX, 5/e by Paul K. Andersen
Professor Arnow's UNIX notes
UNIX Tutorial for Beginners
Click here for the Course Syllabus
Click below to open a lecture and view online.
You can then print or save a copy on your machine
Assignments
- Homework 1 - Due Feb 5th
- Homework 2 - Due Feb 5th
- Homework 3 - Due Feb 21st
Take the program you developed in HW2 and change all usages of arrays and non-array variables to be through pointers. You will need to change function prototypes, function headers, and function code. The output should be exactly the same as that from HW2 using the same input.
- Homework 4 - Due March 5th
Using the Account class and main program we discussed in class( here's the zipped code )add the following features:
- Add arrays, variables, code etc. to store an account number and name for each account.
The account number will uniquely identify it. You can use a variable that is initialized to 0 and incremented each time an account is created.
This will be useful in telling you how many accounts have actually been created.
- Add an option to the menu to create an account - the information needed is account number, name and balance.
Write one constructor that will default the balance to 0 and another constructor that accepts a balance.
Include code to make sure the initial balance is not negative.
- Change the program code to ask for the account number together with an action.
For example, to make a deposit, ask for the account number and amount of deposit.
If an account number is not found, print an error message and redisplay the option menu.
- Add an option and code to the print a report of all the accounts -
the information that should appear is account number, name, balance and number of transactions. This can be requested at any time.
- Homework 5- Due April 16th
-
Group Project - Due May 9th
Either as a group of two or by yourself, complete the Bank Account Group Project in the textbook on page 947
Be sure to include documentation of your classes, member variables and functions (use UML if you like)
as well as sample output from the program. Send the code as an attachment in an e-mail