
C++ Logo
I got few solutions to this. One of the best and safest solution is install Windows 98 or 95 version in your system, or best way go to any internet cafe (or friends house) tell him to give the computer having Windows 98 installed and take screenshots on it. Screenshots can be taken using “Print Screen” button which is present above the “Delete-End-Pageup” buttons or near the scroll lock.
Just simple,
There are few softwares which enable us to take screenshots of any programming languages, but here in Windows XP all such softwares get failed. so install older Window versions. We can say “Old is Gold”
updated: You can also a software/emulator named DosBox to take screenshots of your C++ Programms.







Aug 3, 2008 at 10:26 pm
am i reading this correctly … you are saying that by pressing printscreen the output of a c++ program can not be copied to clipboard .. i find this hard to believe .. what are you in MFC/CLR/Win32 Console … i can screenshot multiple monitors with dos prompts running under xp and even with counterstrike in a window etc. Please clarify!
Reply to this comment
Aug 10, 2008 at 2:04 pm
Actually the Turbo c++ compiler doesnt support the print screen button in windows XP. so thats where the problem arises.
Though in Windows 98 it works fine.
Reply to this comment
Aug 24, 2008 at 11:12 am
But in minimize mode it supports print screen.
Reply to this comment
Nov 6, 2008 at 9:49 am
@salihpk
BUt few Programms are made to run in Full screen only. and few are designed for specific resolution.
Actually this problem was faced by me, if you think its wrong just code a Graphics related C++ program and try to take its screenshot.
Reply to this comment
Nov 22, 2008 at 12:41 am
Yup !!!
Nice comment chetan !!!
I had already faced this problem and solved it .
The previous version of windows supports this facility of print screen in DOS .
Execute your graphics program and press print screen .
If you don’t believe me then I can provide you with some proof
Reply to this comment
Feb 20, 2009 at 7:44 am
what if I am using windows vista……..??
how i can take screen shots?
Reply to this comment
Chetan Replied:
February 20, 2009 at 4:07 pm
Try installing DOSBOX or install Win98… no other option for this
Reply to this comment
Nov 19, 2009 at 9:08 pm
plz can u tell me how to take screenshot using dosbox
Its very Urgent
Reply to this comment
Dec 6, 2009 at 6:58 pm
hey how to minimize the screen in c++ dos ????
help need it quikly
Reply to this comment
Feb 12, 2010 at 8:11 am
hmmmm….
dude now its the time of vista n 7… so from where to get 98 nowadays?? well i’ll try dosbox. hope this may help to take the screenshots…
Reply to this comment
Mar 8, 2010 at 10:09 pm
I’ve an XP and Windows 7 laptop
PrtScr works fine in both versions
Reply to this comment
Mar 9, 2010 at 10:40 pm
@Chetan, hello chetan yaar i have downloaded dosbox but how to take screeenshots of graphics program in it.im unable to understand.when i open dosbox a black screen appears with cursor blinking on it and some commands appear in it.Plz help chetna its urgent very urgent it is my final practical yaar just after3 days so plzzzzzzzzzzz tel me plzzzzzzzzz i shall be thankful to you.god bless you.plzzzzzzzzzz
Reply to this comment
Apr 21, 2010 at 5:12 pm
Hey Dude …
Even i had the same work to be done … (Even i had the school project)
u r rite u cant take screenshots in DOS mode …
but what u can do is … that when yer program is running … press “Alt+Enter” … it will go to normal but yet complete mode ….
u can then take screens and crop accordingly …
Kind Regards
-Akash (Mozilla campus rep)
Reply to this comment