Home > Windows > How to take screenshots of a C or C++ program output

How to take screenshots of a C or C++ program output

Google Buzz
printscreen 150x150 How to take screenshots of a C or C++ program output

Image via stariie.co.uk

Taking screenshots of an event is a common activity for the computer users. It is also easy for taking a screen shot by the readily available keys on the keyboard.

There are even many screenshot taking softwares for desktops.

But have you ever tried to take the screenshot of a C  or C++ programs output?

Definitely you say no…unless you are a geek.

It is the essential part of the students to copy the output of a C program for their assignments, records, observations….So for this they usually type the entire output text.

I will tell you a simple trick to copy the output text easily.

First of all run your C or C++ program in Turbo C compiler[executing the program]. When the terminal shows the output, just press the ‘PrtScn SysRq(Print screen key) of the keyboard. This will copy the text present in the terminal. Then open a new Notepad and paste the text.

Note:

If you open the Turbo C++ compiler like this as in the screenshot below then this wont work. Because when the compiler window is not full screen, the print screen key will take a simple screenshot and not the text present inside the compiler.

Screenshot of output of C program

So use this trick when the compiler window is in full screen mode. If it is not in full screen mode, try ALT + Enter to maximize the window.

I used to follow this trick in my college days. Hope this new trick will help you in making your assignment work easier…..

Related Posts with Thumbnails

Related posts:

  1. Windows-7 Keyboard Shortcuts Complete List Share Windows 7 is the latest Operating System that is...
  2. Tweak Send To Menu in Windows Vista or XP Customize Folder Shortcuts Share My previous posts included tweaks on My Recent Documents...
  3. Download Microsoft Office Professional Plus 2010 Beta Share MS Office 2010 is going to be released soon...
  4. Google Latitude for iPhone and iPod Touch Share Good news for the iPhone lovers.Google is so excited...

Categories: Windows Tags:
  1. vasugi
    October 2nd, 2009 at 14:50 | #1

    When i open TC compiler and then run then press printscreen then it is able to paste it but i get a blank no picture is printed.The paste button works but nothing is pasted what is the problem..

  2. adams
    May 20th, 2010 at 23:07 | #2

    But what about the graphics screen ?
    text mode.. its okay.. you can re-size the window.
    but in graphics mode.. :-(
    its not working on winXp.

    Any solution ?

  3. HItesh BOrse
    August 6th, 2010 at 16:28 | #3

    plz send me some advanture,funny graphics c program

    my id- hiteshborse12@gmail.com

  1. No trackbacks yet.