Stderr not working
adarshnarayan04 opened this issue · 4 comments
adarshnarayan04 commented
I have trying to store the my cerr using
#ifndef ONLINE_JUDGE
freopen("Error.txt", "w", stderr);
#endif
But it not working while it is working on sublime
harshgarg10 commented
Yes, I have the same issue
harshgarg10 commented
have you find any solution of it?
adarshnarayan04 commented
No, just output it using cout instead of cerr
adarshnarayan04 commented
And add it to online judge
When online judge is enabled it does not show it