agrawal-d/cph

Stderr not working

adarshnarayan04 opened this issue · 4 comments

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

Yes, I have the same issue

have you find any solution of it?

No, just output it using cout instead of cerr

And add it to online judge
When online judge is enabled it does not show it