Working on an encoding and decoding example and have the encoding working fine. Its the decoding that is proving to be a challenge...
Essentially, I am encoding characters like:
to give output like
and thats fine, its just when i want to decode something like:
2t3y2r to ttyyyrr
is where i have diffculties
I have tried a few different ways but I'm stumped and would greatly appreciated a few pointers.
I think its the printf where im going wrong, I cant seem to grasp how to tell the program to print t twice (above example) when 2 is in front of it