|
-
Nov 13th, 2005, 08:36 PM
#1
Thread Starter
Addicted Member
Display Picture in Turbo C
Can we display picture in Turbo C?
If yes, please give me a sample.
-
Nov 26th, 2005, 01:06 PM
#2
Addicted Member
Re: Display Picture in Turbo C
-
Nov 26th, 2005, 01:45 PM
#3
Re: Display Picture in Turbo C
ychhuong,
which C/C++ compiler are you using?
Last edited by Harsh Gupta; Nov 26th, 2005 at 01:49 PM.
-
Nov 27th, 2005, 01:31 AM
#4
Re: Display Picture in Turbo C
 Originally Posted by sunnypalsingh
Search google
Such a succinct, helpful reply.
Where do you want to display the picture? A window? ASCII art in a console? What kind of picture is it?
Oh and BTW, get yourself a better compiler. You can get the RTM version of VC++ 2005 Express for free from MSDN as long as as you register it within about a year. You can get the C++Builder compiler as well, but AFAIK it doesn't have an IDE.
-
Nov 27th, 2005, 02:33 AM
#5
Fanatic Member
Re: Display Picture in Turbo C
Another IDE/compiler that a lot of people use, and that's free is Dev-C++ (http://www.bloodshed.net/devcpp.html)
Maybe I didn't try hard enough, but I couldn't make any non MFC win32 apps in VC++ 2005
Never argue with fools, they will only drag you down to their level, and beat you with experience.
Q: How do you tell an experienced hacker from a novice?
A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer
-
Nov 27th, 2005, 02:34 AM
#6
Re: Display Picture in Turbo C
You need to DL the appropriate Platform SDK as the Express Edition does not include the headers.
-
Nov 27th, 2005, 03:58 AM
#7
Fanatic Member
Re: Display Picture in Turbo C
Thank you. For anyone else trying this, here's what you have to do: http://msdn.microsoft.com/vstudio/ex...alc/usingpsdk/
Never argue with fools, they will only drag you down to their level, and beat you with experience.
Q: How do you tell an experienced hacker from a novice?
A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer
-
Nov 27th, 2005, 09:02 AM
#8
Re: Display Picture in Turbo C
 Originally Posted by McCain
Another IDE/compiler that a lot of people use, and that's free is Dev-C++ ( http://www.bloodshed.net/devcpp.html)
Maybe I didn't try hard enough, but I couldn't make any non MFC win32 apps in VC++ 2005 
just to add one more point, if you use or want to use Dev C++, it will require Simple DirectMedia Layer for graphics purpose.
-
Nov 27th, 2005, 09:50 AM
#9
Fanatic Member
Re: Display Picture in Turbo C
No, not really, if all you want to do is to display a picture you can use the win api. Relevant functions would be BitBlt, CreateDC, SelectObject and others like them
Never argue with fools, they will only drag you down to their level, and beat you with experience.
Q: How do you tell an experienced hacker from a novice?
A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer
-
Nov 27th, 2005, 10:34 AM
#10
Re: Display Picture in Turbo C
 Originally Posted by McCain
No, not really, if all you want to do is to display a picture you can use the win api. Relevant functions would be BitBlt, CreateDC, SelectObject and others like them
oh, thnx McCain, yeah forgot about the APIs. just mentioned SDL if s/he is making a MS-Paint like program.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|