December 29th, 2004, 06:02 PM
another image question????
i am using tc++ ide compiler how could i use a bitmap or a jpg to make it display in my program. can out there could help me....
smoking is really
bad for ur PC
January 2nd, 2005, 12:36 AM
If you are running windows, you should look in the windows programming libraries for a component (java terminology) that can hold and display an image. You would then add it to your program. If you can't do that, you could take the image file and parse it, writing it pixel by pixel to the screen in a certain location (bit blitting, I believe), but I don't recommend doing that. I'm sure there's some built in windows coding option.
Look for the Windows Programming API