Thread: Program Ideas Needed

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    25

    Exclamation Program Ideas Needed

    ok, i need some advice. i am a sophomore computer science major. i took my first c++ class last year, my second last semester, and i was taking data structures this semester. i missed the first week of class, and my last class didn't teach me everything i should have known for this data structures class. so i dropped it and i will retake it next semester. i would like to do a large project on my own making use of linked lists, dynamic memory, stacks, queues, and whatever else may be good.

    i need some ideas for a large program that involve this. any suggestions??
    I Love Jesus

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    What about a cash register program that uses a database to determine prices and quantities? If the last item is bought the register will flag it as empty so that more can be ordered, the actual data is saved as data files. You can add any number of functions to this if you consider it to be a terminal that accesses data files from a storage bank and does all of the processing of those data files on its own.

    This can be as simple or complex as you want it to be, just add features to make it harder or remove features to make it easier, such as adding a clock that will determine if the register is turned on after hours or a security system that requires a user ID and password, and manager functions that can reconfigure the register to do different things. The possibilities are endless

    -Prelude
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    25
    wow, good idea. i guess if i was really ambitious, i could simulate a day of buisness, and random int generators could determine how many "items" would be "bought" each day, and i would gain that much "money" for my store, then i would have to "purchase" more items to restock. sounds very good. how do i go about passwords for that? i have never done that before.
    I Love Jesus

  4. #4
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Passwords can be as simple as saving a user id and password to a file and checking that file for equality with user input. You can encrypt the data so that no one can read the file, but it would just be easier to use a binary file instead since the authorized user should be able to set their own id and password. The most difficult part of a password program is writing out the masking characters so that onlookers of your user can't see what the password is. For example, the user enters foobar as the password but ****** actually gets printed to the screen. Since that isn't difficult you can imagine that a password feature is easily implemented and adds a very nice touch to the program.

    -Prelude
    My best code is written with the delete key.

  5. #5
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    That definately is a really good idea Prelude. I never even thought or heard of that before but it seems really good. Thanx. That might be my next project if I feel like it.

  6. #6
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    also, i think "data structures and algorithms" is a good read for you in prep, and if you don't read it just for the class you may as well do it for your own knowledge anyway. oh, and check out my demonstrations, maybe you'd get inspiration. there all over the general discussions board, use this boards nifty search feature to search for posts under my name. [okay, that was a bit selfish, but nonetheless, the more you know the better you are about programming]

    hth...
    hasafraggin shizigishin oppashigger...

  7. #7
    Registered User
    Join Date
    Dec 2001
    Posts
    25
    is "data structures and algorithms" a book? because the book for the data structures class i am dropping is called "data structures and algorithm analysis" i will be studying it before i take the class again.
    I Love Jesus

  8. #8
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    yep, i think it's distributed by deitel and deitel, right? and also maybe if you already got a textbook for the class, that'd be your best resource.
    hasafraggin shizigishin oppashigger...

  9. #9
    Registered User samGwilliam's Avatar
    Join Date
    Feb 2002
    Location
    Newport
    Posts
    382
    But would you use Poisson or Gaussian distribution for the sales and customers?

  10. #10
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    gaussian of course... but that type of blurring is computationally expensive and is impractical in real-time, isn't it?
    hasafraggin shizigishin oppashigger...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help Needed with Compiling C program
    By girishaneja in forum C Programming
    Replies: 2
    Last Post: 05-20-2009, 08:10 AM
  2. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 01:42 AM
  3. Program closes prematurely. Help needed
    By strategicman in forum C++ Programming
    Replies: 3
    Last Post: 04-12-2006, 03:09 PM
  4. Program Idea's
    By devour89 in forum C++ Programming
    Replies: 11
    Last Post: 12-04-2002, 04:57 AM
  5. Ideas needed
    By sean in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 10-16-2002, 05:33 PM