I want to save to a text file the C++ compiler status. I’m using Windows.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
redirect the output to a file using the redirection operator ‘>’.
You may want to use the STDERR stream for redirection as most of the compilers output the compilation errors on this stream, so you should try the ‘2>’ redirection.
refer the below link for more details on redirection on Windows:
http://technet.microsoft.com/en-us/library/bb490982.aspx