Thread: Ideas

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    2

    Lightbulb Ideas

    I think I'm ready to start writting some small programs. My problem is, I need some ideas for a "useful" program, I've thought of calculator programs and things like that, I'm really looking for a challenge, more along the lines of something a business could use. One idea was a bartending program =) Please give me some ideas. Thanks.

    -TechPhreak

    "I interfere with the wires and energy"

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    61
    Try a simple cryptography program. Program works with a text file called, say, message.txt. User types his/her message in message.txt (with a simple ASCII text editor like MS Notepad). Your program is to read all the contents of this file, encrypt it, then spit the encrypted message back out to the same file.

    Example Interface (command-line):
    -----------------------------------------------------
    Simple Encrypter
    1. Encrypt message.txt
    2. Decrypt message.txt

    Selection =>
    -----------------------------------------------------

    So user can open message.txt, type a little message, run the program, hit '1' as a selection and when opening message.txt should see nothing but garbage. Conversely, selecting '2' on the next run, user should see the restored message when opening the file again. This could be kind of useful, you could encrypt your email messages this way (mind you, it will most likey be trivial to crack anyway)

    Notes:
    1. Making use of 2 files (one for input and one for output), will make the program a lot easier to implement. So you can choose either way, i just think 1 file makes the program look more cool.
    2. Just use a simple encryption algorithm like add the value 5 to each character or something. If you want to make it a little more complex than you could add like a second algorithm to change the value you add to each character in a non-trivial fashion (i.e. using rand() or something; however you will need to save these values somehow when decrypting the message; could also make some oscillating function using sin() etc... so your values are reproducible on each run).
    3. Whatever directory you run the program, the file "message.txt" (or whatever you want to call it) should be in that same directory (makes implementing easier, besides getting into full pathnames etc..)
    4. If you need more details, or something else more interesting to program, feel free to ask.
    Last edited by greenRoom; 10-24-2001 at 10:13 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ideas, how do you get them? xD
    By Akkernight in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 01-22-2009, 03:53 AM
  2. cool ideas for a game
    By Shadow12345 in forum Game Programming
    Replies: 7
    Last Post: 05-18-2004, 08:37 PM
  3. Company Name Ideas
    By brunomiranda in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 12-16-2003, 05:15 PM
  4. idea's idea's idea's
    By mithrandir in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 04-29-2002, 12:30 AM
  5. Small app ideas
    By dirkduck in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 02-15-2002, 08:57 PM