I wrote a 2700 line program to generate 2.8 million lines of if/and statements, which it now happily spams into my command prompt, via cout<<. The problem is that my command prompt apparently doesn't remember all 2.8 million lines (I think the buffer max is like 999 lines), is there a way I can output my newly generated code somewhere that I can read it, and then cut and paste it into my compiler -- Notepad perhaps?