CETH 2251
CETH 2251
Advanced Programming Techniques
Fall 2008

Instructor: Daniel Kohn (dekohn@memphis.edu)
Office Hours: (click here)
Course Policies: (click here)
Grades: GradeWatch
Assignment Submission: Submit Assignments
Required Text: P. J. Deitel, H. M. Deitel, C++ How to Program Sixth Edition, Prentice Hall, 2008. (ISBN 0-13-615250-4).
Software: Putty SSH Telent Client
 
Course Outline:
Week OfTopicReadingHandoutsAssignments
Aug 25Intoduction / C++ Fundamentals
    • Algorithms / Flowcharting
 Flowchart examples 
Sep 1C++ Programming ReviewChp 2Help on SSH / Pico / G++ HW #1: Type, compile and run Fig 2.13.
Sep 8C++ Programming Review
   •if/else
   •case
   •Loops
Chp 4
Chp 5
 HW #2
Due Sep 19th
Sep 15C++ Programming Review
   •Intro to Object Technology
   •Intro to Classes and Objects
Chp 1 (sec 1.21)
Chp 3
  
Sep 22Classes and ObjectsChp 3Code (List Class) 
Sep 29Constructors, Validation, ReusabilityChp 3 HW #3
Due Oct 8, 2008
Now Due Oct 10, 2008
Oct 6Project
Functions
Chp 6  
Oct 13Fall Break
Project
  HW #3b
Take HW #3 and remove the class (BarChart) and place it in it's own library (.h) and recompile

HW #3c
Create a .o implimentation of the Barchart class (see section 3.9 in text for more info)
To compile to a .o file use

g++ -c className.cpp -o className.o

to link the .o with a compiled program use

g++ -Wall progName.cpp className.o


Oct 20ArraysChp 7 HW #4
Due Nov 3, 2008
Oct 27Function Templates
Inline
Pass By Ref/Value
More On Strings
Chp 6
String Reference
 Number To String
Note: Use string.append not strcat for project (correction from class).
Nov 3PointersChp 8  
Nov 10TEST #1  TEST - Due Start of Class Nov 17 (no extensions)
Nov 17Hardware I/O Linux I/O Programming FAQ 
Nov 24Hardware I/O (cont) Example3
Example4
Program 3 - IO
Computer now set up in ET 227 for this experiment (do not hit any key until you see LOGIN).
Dec 1Hardware I/O (cont)   
Dec 8Exam  Make sure you have access to a laptop for the exam - Programming WILL be required!
 
Reference Links: Help on SSH / Pico / G++
  C++ Standard Libraries
 
Student Requested Links: WinSCP
  Notepad++
  Smartdraw