Simple C++ question.

Associate
Joined
18 Feb 2010
Posts
940
I have a set of strings, which are made up of a string and integer.

For example:
Dave5103

This is stored in a char[], actually... there are a lot of them and they are stored in char[][], but that won't affect the solution.

I am looking to pull two bits of data from this, the string, and the integer.
Is this possible? If it helps, I can change the format of these to:
Dave-5103

I'd really appreciate any help with this.
Thanks,
 
Back
Top Bottom