This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CIO: Problem with 'cerr' output



Hi,

Suppose my code has the following:

cout << "This is good!" << endl;
cerr << "This is bad!" << endl;

The output looks like this:

[C66xx_0] This is good!
[C66xx_0] T[C66xx_0] h[C66xx_0] i[C66xx_0] s[C66xx_0]  [C66xx_0] i[C66xx_0] s[C66xx_0]  [C66xx_0] b[C66xx_0] a[C66xx_0] d[C66xx_0] ![C66xx_0]

Why is 'cerr' output so different from 'cout'? Can this be fixed?

Thanks,

-itay