Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

help with c code: i want to close stdout and reopen it again in my code. fclose(stdout); is working fine but i dnt know how to open it again. what is syntax of fopen to open stdout ... pls help

OpenStudy (shadowfiend):

There is an freopen function to let you reopen a file pointer, I believe. You can use that.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!