C++ Programming Spring 2005
Notice: This area will be used to keep you posted of any announcements, information, assignments, or just to say HI. It is suggested you link here each time you access this page to keep yourself up to date regarding class meetings, assignments and other relevant material. There is also information regarding open labs and printing material in class.
This is the main page for the C++ course. From here you will be able to link to other pages which contain information about the course. Reading assignments will be posted each week in order to prepare for the next class. All project assignments will be posted immediately before the class they are to be assigned. Some assignments will be designated for practice only and will not affect your grade. Other assignments will be required to be submitted. Each assignment will be clearly indicated as to its type, and what due date will apply.
To read about any of the following , please click on the link.
Computer use Policy Students using the computer system at the University of Delaware are expected to follow the computer use guidelines. Click on the link at the beginning of this paragraph to familiarize yourself with those guidelines. Violators of the policy will be prosecuted.
A
shorter condensed version of the policy may be found here: www.udel.edu/ExecVP/polprod/1-14.html
Topics
Covered Unix
Pico
Pine
Assignments Prerequisites
PA SOLUTIONS
Reading assignments, lab assignments, and program assignments are posted here. The reading assignments have been posted so you can prepare by reading the material. Lab assignments and program assignments are for practice and experience, and will not be required to be turned in for grading, but I will be glad to provide help and feedback. The procedure for this will be covered in the first night of class. Solutions to all of the exercises are posted to the web site.
Class Session Class Meeting Date Assigned Reading Lab Assign Program Assign
1 02/07/2005 None Lab 1
2 02/14/2005 Chapters 1 & 2 Lab 2
Link here to see program examples used in class this week
3
03/07/2005
Chapter 3 PA1
Chapter 4 (pgs 95-111)
Chapter 4 (pgs 125-145)
Chapter 6 (pgs 234-238)
Link here to see a sample program on pointers
Link here to see a sample program using an array with free store memory and functions
4 03/14/2005 Chapter 10 Lab 3
Link here to see additional programs on pointers
Link here to see some examples of programming classes in c++
5.
04/04/2005
Chapter 10 (Cont). Lab
4 PA2
Stock Class Examples
6. 04/11/2005
Chapter 7 (243-271)
PA3
Chapter 8 (299-326)
7. 04/18/2005
8.
05/02/2005
Read Chapter 12
(Pages 503-521)
PA4
Read Chapter 11
(Pages 446-466)
Dynamic memory with Operator Overload
Program showing free store, copy constructor and operator overload.
9.
05/16/2005
Read Chapter 13 (pages 567-594)
Read Chapter 10 (458-467)
Sample Program
for copy, operator overloading and friends
Link Here
to see examples of inheritance
PA1 PA1 Free Store PA2 PA3 PA4
·
Simple C++ programs and input/output
·
Built-in storage types; using const
·
Other storage types:
arrays, structures, pointers, references
·
Implicit and explicit type conversion
·
Dynamic memory allocation using new
and delete
·
Class and object basics:
Encapsulation (public, private), friend classes
·
Constructors, destructors, copy constructors
·
Object pointers and keyword this
·
Polymorphism - functions:
inline and virtual functions; default arguments
·
Operator/function overloading
·
Class inheritance: public, private, and protected access; single and multiple
inheritance
·
Abstract classes and pure virtual functions
Time Permitting we will touch on the following:
·
File input/output in C++
Jim Brannen
Phone: 302-737-5755
E-Mail: startrek@udel.edu
If
you have any questions at all, please feel free to contact me either by phone or
email. I want you to succeed and
will assist you whenever I can!
If you would like to know some more about me, including work experience, teaching experience, hobbies, interests and other boring stuff, click the link that follows: Jim Brannen brief bio.
Classes: Mondays 6:30 PM to 9:30 PM
2/07/2005 to 5/16/2005
The Waite Group’s C++ Primer Plus, 4th Edition, Stephen Prata, ISBN: 0-672-32223-4
There will be no exams, and the program assignments will not be evaluated for purposes of a grade, but to provide feedback for improvement. GRades will be based on attendance and the number of program assignments completed, and to some extent their quality.