I have a few question about this practice problem.
First it states that you shouldn't use a IO library(That's how I'm understanding 'no file IO').. No problem because my compiler links against the standard by default so I should be able to throw up some 'proper' function declarations and they should get linked up to the proper code right?
Second.. What do you mean by it should print its own source code? I know I can use the shell functionality to redirect my source code into my program's stdin channel and print it that way. Is that what the question means by printing its own source code?