October 1st, 2012, 06:25 AM
Code language, didnt know where to put it really..
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
October 1st, 2012, 12:20 PM
Re: Code language, didnt know where to put it really..
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?You have to write the code for this.
So in short, my question is how can I tell a program in C++, to see lots of numbers
You have to write the code for this.
and translate it to letters and words.
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).
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!