How can I split a string such as "102:330:3133:76531:451:000:12:44412 by the ":" character, and put all of the numbers into an int array (number sequence will always be 8 elements long)? Preferably without using an external library such as boost.
Also, I'm wondering how I can remove unneeded characters from the string before it's processed such as "$" and "#"?