Stderr not working #420
Unanswered
adarshnarayan04
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use to store the error and use of debug variable using cerr
Store the cerr results in another file using
#ifndef ONLINE_JUDGE
freopen("Error.txt", "w", stderr);
#endif
But this is not working when I try to run code with cph but it work normally
Can anyone guide me what to do
Beta Was this translation helpful? Give feedback.
All reactions