I'm doing a programming assignment (concurrent programming :S) with one of these old DOS compilers that just reads the program from a text file and outputs straight into the command prompt window. How would I get the output to go into a text file instead? Cheers!
Wait, you just want to capture what's written to the DOS prompt? Easy. Just when you run the compile command, use the >> operator to point to a log file.
The compiler is "PascalFC", and I think students at my uni are the only ones in the world who use it. It's basically programming concurrently (channels, remote invocation, semaphores etc) using Basic.