CS2330 (Applications Programming in C and C++) Courseware -- Xiannong Meng

This is CS2330, Applications Programming in C and C++, on-line courseware. The web pages are under experiment. If you have any comments or suggestions, please send mail to me. Thank you very much.
  • Syllabus and Schedule
  • Course Notes
  • On-line labs and projects
  • Lab One and lab1.cpp
  • Lab Two
  • Lab Three
  • Lab Four
  • Lab Five
  • Lab Six
  • Lab Seven and its solution calv2.cpp calv2.h calv2drv.cpp
  • Lab Eight
  • Extra Credit Work
  • Code examples used in lecture
  • hello-world.cpp
  • convert.cpp
  • circle.cpp
  • figure.cpp
  • circfunc.cpp
  • infile.cpp -- How to work with input file
  • simpsim.cpp -- A simple simulation (revised)
  • sqrt.cpp -- Square root function & testing
  • filechk.cpp -- A simple spelling check program
  • search.cpp -- A simple searching program
  • bookcirc.cpp and bookcirc.h -- A modified "circle" class
  • countv1.cpp and countv1.h -- A simplified "counter" class
  • exampone.cpp -- A simple example of using function template.
  • selsort.tem, array.tem and arydrive.cpp -- A selection sort template, an array general function template, and a drive program.
  • arygnrc.tem, arygnrc.cpp and gnrcdrive.cpp -- An example of class templates with two generic types and its drive program.
  • queuelst.h, queuelst.cpp and queuedrv.cpp -- Header file, templates and its drive program for a queue class.
  • Brief instructions on using the Microsoft Visual C++ environment.
  • Brief instructions on using the Borland C++ 4.0 environment. Select this link for an html version, or select this link for a pure text version.
  • Brief instructions on using Turbo C++ 3.1 environment for projects with multiple files.
  • C and C++ Programming Style Guide
  • Addison-Wesley's WWW site for our textbook and its supplements
  • money.h --- Textbook authors' money class header file
  • money.cpp --- Textbook authors' money class implementation file
  • stdstrng.h --- Textbook authors' string class header file
  • stdstrng.cpp --- Textbook authors' string class implementation file
  • money.h --- Revised Money class header file
  • money.cpp --- Revised Money class implementation file
  • drive.cpp --- A money class testing program
  • moneyone.cpp --- Revised Money class file and a drive program
  • cstring.h --- String class header file
  • cstring.cpp --- String class implementation file
  • drive.cpp --- A string class testing program
  • Major reference books
  • "Programming and Problem Solving with C++" by Nell Dale, Chip Weems and Mark Headington, Heath, 1996
  • "The Object Concept" by Rick Decker and Stuart Hirshfield, PWS Publishing Company, 1995
  • "The Annotated C++ Reference Manual" (ARM) by Margaret A. Ellis and Bjarne Stroustrup, Addison-Wesley, 1990
  • "C++ Primer" 2nd edition, by Stanley B. Lippman, Addison-Wesley, 1991
  • "Concepts in Data Structures and Software Development" by G. Michael Schneider and Steven C. Bruell, West, 1991
  • Other resources for C, C++, and Visual C++
  • Another style guideline for general programming
  • Visual C++ 4 Unleashed -- a description about a book on Visual C++ 4
  • Descriptions of more books on Visual C++ -- a note offered by Blane E. Mayfield of Oklahoma State University
  • Microsoft's Visual C++ Home Page
  • Course notes on Microsoft's Visual C++ by Prof. David Cyganski of WPI.
  • C++ news group off USENET (this link is for panam.edu domain access only).
  • C news group off USENET (this link is for panam.edu domain access only).
  • CS class news group (this link is for panam.edu domain access only).