Programming with C++ - 22C:109:SCB   (Fall 2006)
Homework

  • Project 1 - fun with Palindromic numbers, and loops, and all kinds of other wild and crazy stuff! Due Friday, September 8, 2006, at 11:59 PM.

  • Project 2 - fun with linked lists, and using them to build a word-frequency counter. Due Wednesday, September 27, 2006, 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 (uncommented)

  • Project 3 - fun with the str class, and adding extra features to a class. Due Friday, October 13, 2006, at 11:59 PM.
    resources for your use:
    str.cpp and str.h, the simple string class we partially implemented in class. You'll use this as a starting point for all your modifications and enhancements.

  • Project 4 - 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 Monday, October 30, 2006, at 11:59 PM.

  • Project 5 - fun with a 2D fish/shark life simulation. You'll have to use inheritance and polymorphism for this one, but again, there's a lot of flexibility of design to be found here. Due Wednesday, November 15, 2006, at 11:59 PM.

  • Project 6 - 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, December 8, 2006, at 11:59 PM.