Thread: Extreme noobism

  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.
    [email protected]
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  3. #3
    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-27-2004 at 11:40 PM.

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, 06: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, 03: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