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

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

Categories: Windows Tags:
printscreen

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:

  1. Windows-7 Keyboard Shortcuts Complete List Windows 7 is the latest Operating System that is...

If you like the post, Subscribe Echoblogger for more interesting content or
  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..

  1. No trackbacks yet.