Algorithm only of numbers
#5

Only way I can honestly think of doing this would be to loop through each character in the string then get its corresponding ASCII decimal value, storing that into another string (strcat).

As for the decoding, that is another problem as each character can have different numbers that take more characters to display (i.e. ' ' = 32, 'i' = 105). You would need some sort of delimiter inserted between characters.
Reply


Messages In This Thread
Algorithm only of numbers - by zopert - 31.01.2013, 18:46
Re: Algorithm only of numbers - by zopert - 31.01.2013, 19:37
Re: Algorithm only of numbers - by Bakr - 31.01.2013, 19:46
Re: Algorithm only of numbers - by zopert - 31.01.2013, 20:01
Re: Algorithm only of numbers - by Bakr - 31.01.2013, 20:13
Re: Algorithm only of numbers - by zopert - 31.01.2013, 20:42
Re: Algorithm only of numbers - by Bakr - 31.01.2013, 21:38
Re: Algorithm only of numbers - by zopert - 01.02.2013, 07:01

Forum Jump:


Users browsing this thread: 1 Guest(s)