I am using stringstream for the first time and am a bit lost. I thought i understood what to but keep getting an error. here is my code.
if (imag < 0)
a << real << " " << imag << i;
else if (imag > 0)
a << real << " + " << imag << i;
real and imag are both double variables and i is a char variable.
thanks in advance.
ah ty very much yes that was the issue.