I'm using Dev C++ 5.11 on windows 10 home 64 bit. While compiling the program given below, I got the error message as semi colon is missing:
[Error] expected ';' before '}' token
I want the redirect or capture the syntax error in text file. I read about stdout
and stderr
, but couldn't get the output of compiler error in notepad/text file.