Extreme noobism

This is a discussion on Extreme noobism within the C++ Programming forums, part of the General Programming Boards category; Alright here's the deal. I'm new to this scene, and I need to talk to a person not a manual ...

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    1

    Extreme noobism

    Alright here's the deal. I'm new to this scene, and I need to talk to a person not a manual or guidebook. Not some internet tutorial. What i am trying to do it make one of those the letter a = b, letter b = c, "Spy" decoder type translation thingies... (Hope that makes sense) Problem is: I have no idea how >.<. Any suggestions on what to do and how to do it? Thx in advance! (I can research HOW to do things, problem lies in not knowing exactly what it is I need to research -.-;; )

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    So I guess what you mean is you want to create a simple Caesar encryption program. What you need to research is basic C++ program flow, file input/output, and array syntax. The aproximate program flow would be something like this:

    1. Open the file to be encrypted, and load the contents into an array.
    2. Loop through the array and modify each letter how you wish, ie, you could move each letter to the right, so 'a' would become 'b', 'b' would become 'c', etc.
    3. Write the contents to a file.

    I guess you don't know any C++, so that's where you have to start. Have a look at this tutorial.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  3. #3
    nbk
    nbk is offline
    meow nbk's Avatar
    Join Date
    Jul 2004
    Posts
    45
    You say a decoder. So if you you typed a, it would show b, or if you type b, it would show c? And would it open a file, as the above post stated?
    Last edited by nbk; 07-28-2004 at 12:40 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. extreme frustration with vectors
    By n3v in forum C++ Programming
    Replies: 1
    Last Post: 12-04-2006, 09:39 PM
  2. Extreme Breakout, finally it's finished
    By hdragon in forum Game Programming
    Replies: 16
    Last Post: 04-09-2006, 07:39 AM
  3. How I can be extreme programmer for C/C++?
    By bit0101 in forum C Programming
    Replies: 14
    Last Post: 03-25-2003, 12:58 PM
  4. Extreme Programming
    By FillYourBrain in forum C++ Programming
    Replies: 5
    Last Post: 08-22-2002, 04:24 PM
  5. Rain - extreme cooling - extreme hunger
    By iain in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-13-2002, 10:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21