My code so far:
[code removed, please just paste the part you think funky]
This code works fine for the first two instances. Probs start with the percent char '%'. The char is pushed into input as 0100101 (7bit), right? So obviously I I first need to format it to an 8 bit binary value and after which, I'll be able to pass it to my getChar() method.
Problem is, even when hard-coding/concatenating the missing values to "00100101", I still haven't managed to print the entire string (its not a loops issue), I always seem to be coming up a few chars short.
I tried a few sloppy conditionals to work around the issue, but it's clear that i'm just not getting this. Any suggestions as to how to do it with my existing code? Thanks in advance!