Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,444 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,300 people online right now. Registration is fast and FREE... Join Now!




How to take screen outputs from c++?

 
Reply to this topicStart new topic

How to take screen outputs from c++?

123rocks
7 Jan, 2008 - 02:57 PM
Post #1

New D.I.C Head
*

Joined: 7 Jan, 2008
Posts: 2

Sir/Madam im using windows xp so im having problem in taking screen outputs of my program please help tell me any software of othere help i have to submit my project
User is offlineProfile CardPM
+Quote Post

Jingle
RE: How To Take Screen Outputs From C++?
7 Jan, 2008 - 03:18 PM
Post #2

D.I.C Head
**

Joined: 20 Oct, 2007
Posts: 249


My Contributions
QUOTE(123rocks @ 7 Jan, 2008 - 03:57 PM) *

Sir/Madam im using windows xp so im having problem in taking screen outputs of my program please help tell me any software of othere help i have to submit my project

im afraid to say i have no clue what your talking about
could you clearafy?
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: How To Take Screen Outputs From C++?
7 Jan, 2008 - 03:50 PM
Post #3

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,459



Thanked: 10 times
Dream Kudos: 325
My Contributions
Press the "Print Screen" key on your keyboard. Then open up MS paint and hit "paste".

You can crop it accordingly if you just want to show your program.
User is offlineProfile CardPM
+Quote Post

nirvanarupali
RE: How To Take Screen Outputs From C++?
7 Jan, 2008 - 09:28 PM
Post #4

D.I.C Foot
Group Icon

Joined: 1 Aug, 2007
Posts: 983



Thanked: 2 times
Dream Kudos: 375
My Contributions
You mean you want to output text to the screen?
User is offlineProfile CardPM
+Quote Post

123rocks
RE: How To Take Screen Outputs From C++?
8 Jan, 2008 - 01:30 AM
Post #5

New D.I.C Head
*

Joined: 7 Jan, 2008
Posts: 2

QUOTE(Jingle @ 7 Jan, 2008 - 04:18 PM) *

QUOTE(123rocks @ 7 Jan, 2008 - 03:57 PM) *

Sir/Madam im using windows xp so im having problem in taking screen outputs of my program please help tell me any software of othere help i have to submit my project

im afraid to say i have no clue what your talking about
could you clearafy?

The problem is that i am using windows xp so i am getting difficulty in copying the screen outputs to ms paint.
I tried using "print screen" and pasting into paint but nothing happened. kindly help me as soon as possible 'coz have to submit 'ma project icon_up.gif

QUOTE(nirvanarupali @ 7 Jan, 2008 - 10:28 PM) *

You mean you want to output text to the screen?


yes , but "printscrn" and then "pasting" into paint doesnt work in xp.
User is offlineProfile CardPM
+Quote Post

jjhaag
RE: How To Take Screen Outputs From C++?
8 Jan, 2008 - 01:37 AM
Post #6

me editor am smartastic
Group Icon

Joined: 18 Sep, 2007
Posts: 1,789



Thanked: 2 times
Dream Kudos: 775
Expert In: C,C++

My Contributions
What are you trying to take a screenshot of? It works just fine in WinXP for normal windows, console or otherwise. The only problem I'm aware of comes when trying to get screenshots in windows running 3D graphics.

CTRL+Print Screen will capture just the window that currently has focus.



And finally, this has absolutely nothing to do with C/C++ - it will probably be moved shortly. Please post in the correct forum next time, not just the first one you see. This belongs in Computer Support.
User is offlineProfile CardPM
+Quote Post

lockdown
RE: How To Take Screen Outputs From C++?
8 Jan, 2008 - 06:07 AM
Post #7

D.I.C Regular
Group Icon

Joined: 29 Sep, 2007
Posts: 376



Thanked: 1 times
Expert In: PC, Support

My Contributions
Can you describe better what you are trying to take a image of. It sounds almost like a program you made and you want to take a screen shot of the console output correct?

The print screen function should be working correctly but paint might not be set up to properly paste the image into pant. Do this.

1. Open paint and click on image on the top bar
2. Select Attributes or kit control-E
3. In the window that comes up put 1 in for width and 1 in for height
4. Click the circle for pixels
5. Click ok and ur done

Basically what that did is resized your default page that paint brings up. Sometimes if it to large people have a issue copying in a image for some unknown reason. With it set at 1x1 the canvas (or white page) will grow with the picture you paste in giving it the exact dimensions of the image you are pasting. This way the canvas is not to large.

Also is their anything special you are running on your system graphics wise? Have you reprogrammed any features on your keyboard?
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: How To Take Screen Outputs From C++?
8 Jan, 2008 - 06:16 AM
Post #8

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,462



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(123rocks @ 8 Jan, 2008 - 02:30 AM) *

QUOTE(Jingle @ 7 Jan, 2008 - 04:18 PM) *

QUOTE(123rocks @ 7 Jan, 2008 - 03:57 PM) *

Sir/Madam im using windows xp so im having problem in taking screen outputs of my program please help tell me any software of othere help i have to submit my project

im afraid to say i have no clue what your talking about
could you clearafy?

The problem is that i am using windows xp so i am getting difficulty in copying the screen outputs to ms paint.
I tried using "print screen" and pasting into paint but nothing happened. kindly help me as soon as possible 'coz have to submit 'ma project icon_up.gif


Your problem is not a limitation with XP, because I've used this feature many many times.
Are you by chance on a laptop? You'll need to make sure that you are using the correct key sequence to issue the print-screen. As well, you can use Alt-Print Screen to capture only the application currently in focus.

User is online!Profile CardPM
+Quote Post

born2c0de
RE: How To Take Screen Outputs From C++?
10 Jan, 2008 - 12:14 AM
Post #9

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 3,906



Thanked: 34 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
On most laptops, you'll need to press the Fn + Insert Combination for a PrintScreen.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 02:16PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month