Home Page for CS4 Class Examples

Rose Model with many things lecture Model Use the Save As option
If/Else Statements in C++ ifElse.cpp
Switch Statements in C++ switch.cpp
Loops in C++ loops.cpp
Inline Functions inline.cpp
Template functions  templates.cpp
Multiple Dimensional Arrays 2DArrays.cpp
An Example header file clntdata.h
An Example C++ implementation file account.C
An example of using the STL List class StoreInput.C
Ascending Sort Example using Pointers ascendingSort.cpp
Inheritance: Point.h point.h
Point.C point.cpp
Circle.h circle.h
Circle.C circle.cpp
Cylinder.h cylinder.h
Cylinder.C cylinder.cpp
driver.C driver.cpp
Abstract Classes: Animal.h Animal.h
Animal.C  Animal.h
Dog.h Dog.h
Dog.C  Dog.C
Cat.h Cat.h
Cat.C  Cat.C
Human.h Human.h
Human.C  Human.C
Animal driver defer-eg.C
Abstract Classes: Shapes.h Shapes.h
Shapes.C Shapes.C
Point.h point1.h
Point.C Point1.C
Circle.h circle1.h
Circle.C Circle1.C
Cylindr.h cylindr1.h
Cylindr.C Cylindr1.C
Operator Overloading: Date.h date.h
Date.C date.C
Date driver dateDriver.C
Complex.h Complex.h
Complex.C Complex.C
Test Complex TestComplex.C
Template Classes: SafeArray.h SafeArray.h
SafeArray.C SafeArray.C
Sa-tester.C sa-tester.C
SafeArray2.h SafeArray2.h
SafeArray2.C SafeArray2.C
Sa-tester2.C sa-tester2.C
SortableArray.h SortableArray.h
SortableArray.C SortableArray.C
Sort-tester.C sort-tester.C
Memory Management: String.h String.h
String.cpp String.cpp
StringBuffer.h StringBuffer.h
StringBuffer.cpp StringBuffer.cpp
Watcher.h Watcher.h
Watcher.cpp Watcher.cpp
test-string test-string.cpp
Exam 2 Question 5 Example: 

testEmp.cpp

testEmp.cpp
Employ1.h Employ1.h
Employ1.cpp Employ1.cpp
STL Examples: store-input.C store-input.C
store-input-vector.C store-input-vector.C
sort-input.C sort-input.C
sum-input.C sum-input.C
stackExample.C stackExample.C
queueExample.C queueExample.C
setExample.C setExample.C
multisetExample.C multisetExample.C
mapExample.C mapExample.C
multimapExample.C multimapExample.C
IOStreams cli.C
input1-sstream.C
integer.C
floating.C
clntData.h
account.C
str-io-demo.C
Exceptions excep-mem.cpp
excep-copy0.cpp
excep-copy1.cpp
excep-copy2.cpp
Threads demo1.c
demo1+.C
demo2.c
demo2+.C
mutex-demo.C
pc-simple.C
prod-com.C

Julie A. Adams
Rochester Institute of Technology
jaa@cs.rit.edu