Yes this worked thanks. I could've sworn I did something before that convinced me you can't get ints from a string but ofcourse you can through char conversions!
One small thing though, through the conversion, ofcourse I actually get the ANSII values of the numbers - is there a simple way that when I extra a char>int from a string, it gives me the actual number represented by the ASCII code there and then? Or should I just do some loop like "if some ASCII, then element = <there number it represents>"?
I have a feeling that they're going to end up doing math or some kind of operation with each number. Your example would still have characters, or at least character values.
My suggestion is to read it in as a long, use the modulo operator to break each number off, and store it into an item of a vector. You may need to tweak it to get your vector the way you want it to be, but it's pretty simple.
Thanks guys for the replies, I got the idea what to do now. I just realised I worded some of this wrong too, obviously I'm only dealing with 1s and 0s, not 1-9!