Hi.
If stdin and stdout are file streams shouldn't they be closed after their use?
I know C++ treats IO streams like objects and therefore they can be closed automatically when their destructors are called (given the programmer closes them in the definition of the destructor).. but I am not sure if it's necessary to close them in the first place, because obviously a destructor call is not possible in C.