Programming with C++ - 22C:109:SCA   (Spring 2007)
Homework

  • Project 1 - fun with Palindromic numbers, and loops, and that sort of thing.
    Due: Friday, February 2, 2007, at 11:59 PM.

  • Project 2 - fun with linked lists, and using them to build a word-frequency counter. Due Friday, February 23, 2007, at 11:59 PM.
    resources for your use:
    The Gettysburg Address, all in lowercase and without punctuation, to use as an input test file.
    wordread.cpp - example code to read a single word at a time from standard input (that is, the user, or whatever input is being piped in from another program)
    simplelinkedlist.cpp - the example linked list code we wrote in class

  • Project 3 - fun with blackjack. You'll implement a C++ blackjack game. The organization and implementation of this one is largely up to you, so make it good... Due: Friday, March 30, 2007, at 11:59 PM.

  • Project 4 - fun with an account manager, complete with several different kinds of accounts. This project will involve inheritance, polymorphism, iostreams, and probably a bunch of other stuff. Due Friday, April 13, 2007, at 11:59 PM.

  • Project 5 - fun with a QuadPoly (quadratic polygon) class, and a simple program that uses them. This project will involve the STL, overloaded operators, classes... just a whole bunch of really neat stuff! Due Sunday, April 29, 2007, at 11:59 PM.
    The declaration for the QuadPoly class

  • Extra Credit Project - fun with a simple string class, and extending it to do useful things. Due Friday, May 11, 2007, at 11:59 PM.
    resources for your use:
    str.h and str.cpp, the base for this project.