How to Print the Output Screen of C Program

How to Print the Output Screen of C Program thumbnail
Text is always better than numbers when wanting to reminisce on previous accomplishments.

The output screen of a C program is the product, usually text or animations, of the code written in the input screen. Of course, the output screen is always much more attractive than the input, and sometimes you'll want to print out something you've created. Most compilers do not include a print function for their output windows, but you can still take a screenshot of your program and print it like normal.

Things You'll Need

  • Printer
Show More

Instructions

    • 1

      Compile your code to display on your compiler's output window. On many programs, this shortcut is "F5" or "F12."

    • 2

      Maximize the output window, if possible. While some don't have a maximize button, you can drag the side of the window out to make the output larger.

    • 3

      Press "Print Scrn" on your keyboard. This will take a screenshot of whatever is on-screen at the time, so make sure you have any unused windows minimized.

    • 4

      Open Paint, Microsoft Word, or any modern text editing software.

    • 5

      Paste the screenshot by right-clicking and pressing paste or pressing Control+V. The screenshot will more than likely be bigger than your software, so you may have to shrink the image down some. You can usually do this by grabbing the corners of the picture and dragging inward.

    • 6

      Print the screenshot. You can do this by printing how you would normally, and it should print as it appears within the margins of the text or picture editor.

Tips & Warnings

  • Crop out anything you captured in the screenshot you don't want, such as the Windows bar at the bottom of the screen.

Related Searches:

References

  • Photo Credit code image by charles taylor from Fotolia.com

Comments

You May Also Like

Related Ads

Featured