Converts string to a complex
complex atoc( LPCSTR lpcsz )
a complex data
EX1
void atoc_ex1() { complex cc; string str = " 2 + 1.35i"; cc = atoc(str); // Display the value: out_complex("value = ",cc); // Result is "value = 2.000000+1.350000i" }
origin.h