I am working on a c++ book and currently writing a program to solve complex numbers.The problem i have is that i have to read in a string and tokenize it and parse it to set the real and imaginary part of a complex number.I am thinking of tokenizing based on space but i dont think thats a good idea.