Add value to beginning of string

May 19, 2013 at 1:38am
This is probably a stupid question, but how do you add a value to the beginning of a string (the left) instead of the end?

This is for an assignment and I have to convert the user input (always assuming its a valid decimal number) to binary and store it in a string. I've got up to dividing by two to get the remainder ...
Last edited on May 19, 2013 at 1:50am
May 19, 2013 at 1:58am
May 19, 2013 at 2:07am
Topic archived. No new replies allowed.