+ 2

How to use cerr in c++ ?

cerr means consol error. But how it can be used? Give explanation by coading.

15th Mar 2018, 8:14 AM
Vishwajeet
Vishwajeet - avatar
2 Réponses
+ 6
cerr << "Your post does not look like a question" << endl;
15th Mar 2018, 8:16 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 1
Thanks, it works.
15th Mar 2018, 1:39 PM
Vishwajeet
Vishwajeet - avatar