Thread: how to display a .jpg

  1. #1
    1.b4 e5 2.a3 d5 3.d4 exd
    Join Date
    Jan 2003
    Posts
    167

    how to display a .jpg

    if i have jpg.jpg how can i write a program which will display it?
    AIM: MarderIII

  2. #2
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640

    Re: how to display a .jpg

    Originally posted by Noobie
    if i have jpg.jpg how can i write a program which will display it?
    What comiler do you have? What language do you program in?
    Do you have any Expirience in Win32? Or DirectDraw? GDI?
    Supply some NFO!!!

  3. #3
    1.b4 e5 2.a3 d5 3.d4 exd
    Join Date
    Jan 2003
    Posts
    167
    i have borland 5.02 i can cout in dos window and make variables and uh use cprintf
    AIM: MarderIII

  4. #4
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Time to bump up the suicide smiley reqeust thread.
    I suggest you get a good understanding of C++ and then
    start learning an API like Win32.

  5. #5
    1.b4 e5 2.a3 d5 3.d4 exd
    Join Date
    Jan 2003
    Posts
    167
    i cant think of anything more to learn with c++ i know all i want to now i want to display a .jpg!
    AIM: MarderIII

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Originally posted by Noobie
    i cant think of anything more to learn with c++ i know all i want to now i want to display a .jpg!
    Knowing C++ alone isn't enough, I suggest learning Win32 to
    display a JPG, start here

  7. #7
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Search planet-source-code.com for an example.

  8. #8
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    Noobie I am going to have to agree with them on this. You should at least learn how to create a window with the windows api. If you get visual studio it will automatically generate the code necessary to do that, you will just have to supply the jpeg code.

  9. #9
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    goto msdn
    Put GDI+ into the search box.
    Read and learn.
    JPEG easy to do with Image class.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  10. #10
    1.b4 e5 2.a3 d5 3.d4 exd
    Join Date
    Jan 2003
    Posts
    167
    I would like to find a tutorial on how to make an API window however I have yet to find a tutorial site that has code which works for Borland 5.02
    AIM: MarderIII

  11. #11
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. display character size...(quite urgent..)
    By karthi in forum C Programming
    Replies: 10
    Last Post: 07-11-2007, 09:42 PM
  2. new problem with class
    By jrb47 in forum C++ Programming
    Replies: 0
    Last Post: 12-01-2006, 08:39 AM
  3. Display a .jpg
    By matth in forum Windows Programming
    Replies: 1
    Last Post: 03-22-2006, 11:08 AM
  4. Need a Code to display .jpg files
    By arvindkr in forum C++ Programming
    Replies: 4
    Last Post: 08-31-2002, 05:43 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM