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! :)
Re: Code language, didnt know where to put it really..
Quote:
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?
Quote:
know the principle
You have to write the code for this.
Quote:
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