extern ostream cerr;
#include <iostream>
#include <iostream>
int main() {
using namespace std;
// We can send any content to cerr, just like cout
cerr << "XoaX.net" << endl;
// However, we usually reserve cerr for error messages
cerr << "An error has occured" << endl;
// Keep the window open
cin.get();
return 0;
}
© 20072025 XoaX.net LLC. All rights reserved.