CS 351 Data Structures II

 

Sample Programs

 

 

OrderOfPresentation.txt – This file contains a description of each program as well as the object-oriented problem description for the “class” files below

These programs are mainly C code and do not contain any classes.

 

helloWorld.cpp
example1.cpp
mystring.cpp
example2.cpp
example3.cpp
structexample1.cpp (obsolete – replaced by the object-oriented versions -- see below)
structexample2.cpp
structptrs.cpp
ptrs2.cpp

 

These are object-oriented versions of the struct programs above:

 

Channel Guide Program with Static Variables

Channel Guide Program with Pointer Variables

Channel Guide Program with a Static Array

Channel Guide Program with an Array of Pointers.cpp

 

These programs present an object-oriented design progression for a linked list application.

 

class1.cpp
class1Commented.cpp
class2.cpp
class3.cpp
class4.cpp
class4b.cpp
class4header.h
class4imp.cpp
class4run.cpp
class5.cpp

class5WithMenu.cpp
class6.cpp
classdestruct.cpp

 

These are some additional programs I may or may not use this semester:

 

iofix.cpp
fibo1.cpp
fibo2.cpp
stack.cpp

retruningCHARArrays.cpp

unionExample.cpp

fileIO.cpp