how do i print the output of a C++ prorgam?

jonnyjack

Platinum Member
Oct 13, 1999
2,162
1
0
i'm taking a intro to programming class and my teacher told us to print out the source and the output screen, like the DOS window of the program after it is executed...

he said no screendubs...which he said is screen captures...so how do i print it? TIA

PS using TurboC++ and MS Developer Studio...
 

BCYL

Diamond Member
Jun 7, 2000
7,803
0
71
Can't you copy and paste the output into Notepad or something and print from there?
 

Nullity

Senior member
Oct 13, 1999
837
0
0
We have the same professor.

I guess we can do that..but what do we do when we get to graphics? Heh

Thanks,
Null
 

sparrow18

Member
Jan 25, 2001
59
0
0
OK OK, the correct way of printing is like this : in the dos mode window, click on MARK icon somewhere up in the window. Then highlight what ever things u wanted to copy in the window and then click on paste or ctrl+c. Then Paste it on a notepad or something then u're on your way.
 

lordofdeath

Senior member
Oct 16, 1999
367
0
0
by my past experience, you can print out the program by ctrl+c as someone mention already. for the output window, you need to do Control shift print screen at one and then go to paint program and paste it over or download a shareware screen capture to do this
 

michaelh20

Senior member
Sep 4, 2000
482
0
0
or do it to some file like "nameofyourfile > output.txt" and then you have a nifty text file. (Like above)

Or if you also run these things on unix/linux machines at school, you can do "script" run the proggie, "exit" and it saves it as a file...