CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2012
    Posts
    1

    Exclamation Code language, didnt know where to put it really..

    Hi!
    Im a programer for quite sometime now.. and I really need help with my next assignment, I need to.. Wait for it.. make a program that gets numbers and traslates it to letters with a secret principle that only I should know.
    the numbers are aligned not at all randomly and it's basicly a "code language" to communicate privatly.

    So in short, my question is how can I tell a program in C++, to see lots of numbers, know the principle and translate it to letters and words.
    I'll give an example:

    1431341541541234 = Hello

    Thanks!

  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Code language, didnt know where to put it really..

    So in short, my question is how can I tell a program in C++, to see lots of numbers
    What do you mean by "see lots of numbers"? The C++ language doesn't have eyes, so it can't "see" anything. Do you mean process a string of digits?
    know the principle
    You have to write the code for this.
    and translate it to letters and words.
    You have to write the code for this.

    Your question needs to be more specific -- exactly what C++ problem are you having with this assignment (don't say "everything" -- pinpoint exactly where you are having a problem with this assignment).

    Regards,

    Paul McKenzie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured