Can you load pictures into your programe?

This is a discussion on Can you load pictures into your programe? within the C++ Programming forums, part of the General Programming Boards category; Hi can you load pictures so you can see them in your program? could you use system? or file I/O? ...

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    27

    Question Can you load pictures into your programe?

    Hi can you load pictures so you can see them in your program?
    could you use system? or file I/O?

    thanks
    compiler:dev-C++
    asr

  2. #2
    Registered User mrafcho001's Avatar
    Join Date
    Jan 2005
    Posts
    483
    why would you post 2 different threads about the same thing?

    Yes, i am pretty sure you can in win32.

  3. #3
    Chief Code Coloniser!
    Join Date
    Apr 2005
    Posts
    121
    Hi can you load pictures so you can see them in your program?
    Yes.

    could you use system?
    Which system? My system?

    or file I/O?
    Yes, you need file I/O.

    Perhaps now would be a good time for you to check out the link in Salem's signature about asking smart questions, you may find it'll help you get some better responses!

  4. #4
    yes, I'm registered!!! algi's Avatar
    Join Date
    Nov 2004
    Location
    Ipswich
    Posts
    161
    I don't know whether you can do it in console windows, but you can in win32, opengl, directx and stuff.
    I started out with nothing and I still have most of it left.

  5. #5
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,904
    You can open image files in any format, whether it be console, win32, opengl, directx, whatever. The displaying part is what becomes a bit trickier. A lot of people use Win32's bitblt'ing functions for quick and easy drawing of bitmaps. More advanced methods would include creating a DirectDraw interface or using OpenGL.

  6. #6
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    Just for everyone's information: this is a duplicate thread.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File send app - md5 checksum different when load is put on server.
    By (Slith++) in forum Networking/Device Communication
    Replies: 5
    Last Post: 12-31-2007, 01:23 PM
  2. Just finished assembly assignment
    By xddxogm3 in forum Tech Board
    Replies: 6
    Last Post: 10-08-2005, 05:01 PM
  3. How can I load a cpu a certain percentage?
    By Smartiepants586 in forum C Programming
    Replies: 4
    Last Post: 06-07-2005, 01:15 PM
  4. help needed with my programe
    By supernormal2 in forum C Programming
    Replies: 5
    Last Post: 12-11-2002, 10:57 PM
  5. How-To: Load Pictures in MFC. Code Inside.
    By Xei in forum C++ Programming
    Replies: 1
    Last Post: 05-16-2002, 10:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21