Adventures in Programming

Site Stats
APCS schedule | APCS Login | APCS Forms | APCS Resources | APCS Archive | APCS Stuff
Java schedule | Java Login | Java Forms | Java Resources | Java Archive | Java Stuff
Adven schedule | Adven Login | Adven Forms | Adven Resources | Adven Archive | Adven Stuff
Stats schedule | Stats Login | Stats Forms | Stats Resources | Stats Archive | Stats Stuff

Getting Sample Output in the Source Code

 

When the program is finished and produces the required output the output should be copied into the source code.

How to copy the output into the source code.

Block comments should be written after the closing brace of the program. The sample output will be the very last part or the bottom of the source code.



 

 

 

 

 


 

Run the program and right click in the output window. Click on Select All

 

 

 

 

 

 


 

 

Everything in the output window will be highlighted.

 

 

 

 

 

 

 


 

Press the Enter key on the keyboard. This copies everything highlighted to the clipboard. Return to the source code and paste inside the block comments.


 

 

 

 

 

 

The sample output is now in the source code.

 

 

 

 

 

 

Updated: Thursday, December 20, 2007 2:36 PM

About Us | Site Map | Contact Us | Search | ©2005 brentwoodhigh.com