How do I print the output of a C + + prorgam? [ms developer studio] [turboc]

Q: I am taking an intro to programming class and my teacher told us to print on the source and output display, such as the DOS program window after it is executed .

he said no . screendubs which he said is the screen capture . So how busy I? TIA

PS with + + and .


Re: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…


Re:Go to Dos prompt then type:

Name_of_your_program.exe > PRN


Re: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

Re: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.

Re:We have the same professor.

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

Thanks,
Null


Re:Can't you copy and paste the output into Notepad or something and print from there?

Related posts

Leave a comment

0 Comments.

Leave a Reply


click to changeSecurity Code

[ Ctrl + Enter ]