Thread: Ideas for FINAL program?

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    14

    Ideas for FINAL program?

    We have 1 1/2 weeks to make up our own program in my intro to c++ class. We have to make a program that incorporates stuff we have learned throughout the semester. stuff such as :

    For loops
    functions
    buckets
    arrays
    structs

    what type of program ideas can i make? (i am a total n00b, i have a D+ in the class) Thanks in advance.

  2. #2
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401

    Re: Ideas for FINAL program?

    Originally posted by ray
    For loops
    functions
    buckets
    arrays
    structs
    Buckets?
    Make a quick database program. Ask the user for some data (even better, read it in from a file if you've covered that), put it somewhere in your array of structs, then be able to go back and retrieve the data. I'm just not sure where to fit buckets into all of this.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    552
    perhaps he means buckets as in hash tables
    C Code. C Code Run. Run Code Run... Please!

    "Love is like a blackhole, you fall into it... then you get ripped apart"

  4. #4
    Make a simple text based adventure game! Thats what i did and i dont even know buckets! What are they anyways?

  5. #5
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    I just finished up my final project for my first C++ class. I did a cryptography program. Just read in a message, encrypt and decrypt. You could do a simple Caesar cipher or use what I did, a polyalphabetic cipher like the Vinegere (sp?) cipher. Just google cryptography and you'll find some good info to get you on your way.

    You could also do a calculator program. Read in an aritmetic string like 4 + 2 * 3 and output 10.

    Yahtzee would be an easy one I'd think. Just roll five dice and allow the user to place his score wherever he pleases.

    A few students in my class did Mastermind. That's when the user tries to guess a four digit number. After every guess, the program tells the user how many numbers are in the right place and how many are right, but in the wrong place.

    And then there's always the option of coding a card game. Any ol' card game there is.
    FAQ

    "The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

    "If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

  6. #6
    Veni Vidi Vice
    Join Date
    Aug 2001
    Posts
    343
    A phone- or addressbook.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I need some help with my program please.
    By agentxx04 in forum C Programming
    Replies: 9
    Last Post: 09-26-2004, 07:51 AM
  2. my server program auto shut down
    By hanhao in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-13-2004, 10:49 PM
  3. Replies: 3
    Last Post: 01-14-2003, 10:34 PM
  4. Program Idea's
    By devour89 in forum C++ Programming
    Replies: 11
    Last Post: 12-04-2002, 04:57 AM
  5. Program ideas...
    By code987 in forum C++ Programming
    Replies: 3
    Last Post: 11-18-2002, 11:41 PM