Thread: How to add Graphics to any C++ Code??

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    7

    How to add Graphics to any C++ Code??

    How to add graphics to any c++ code?? Like how do I add picture or any kind of visual in it? Tell me full procedure plzzz..

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Learn C++ first. Then worry about graphics.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    7
    It's none of ur business.. If u dnt knw then dnt reply to my posts..

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Disrespect will get you nowhere.
    Did it ever occur to you that I am trying to make sure you understand what you are going? If you don't, then you are just going to band your head against your desk and get nowhere.
    If that's fine with you, then go find a forum where people are prepared to do all the work for you all the time.
    Good gracious.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472
    your attitude is not right for learning anything mate - how about starting by learning some manners? This is a voluntary board - people give thier time for free - in return it is supposed that those requesting assistance can do so in a positive way and they in turn will be able to help others that visit the pages - It is not a board for somebody to drop a demanding, spoilt infant post like yours
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

  6. #6
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    also don't use text-speak here. spell your words out, and try to use proper punctuation and grammar.

  7. #7
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by Fastian View Post
    How to add graphics to any c++ code?? Like how do I add picture or any kind of visual in it? Tell me full procedure plzzz..
    1. Pick a C++ GUI/Graphics Library that supports your OS
    2. Learn to use that GUI/Graphics Library
    3. Learn to integrate the two sections of C++ code

    Any better answer requires a better question to have been asked!
    How To Ask Questions The Smart Way

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  8. #8
    Registered User
    Join Date
    Apr 2006
    Posts
    2,149
    Quote Originally Posted by stahta01 View Post
    1. Pick a C++ GUI/Graphics Library that supports your OS
    2. Learn to use that GUI/Graphics Library
    3. Learn to integrate the two sections of C++ code

    Any better answer requires a better question to have been asked!
    How To Ask Questions The Smart Way

    Tim S.
    More like:
    1. Pick a C++ GUI/Graphics Library that supports your OS
    2. Learn basic C++ (required for 3 + 4)
    3. Learn to use that GUI/Graphics Library
    4. Learn to integrate the two sections of C++ code

    Which is why learning C++ first if a good idea.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DOS graphics with dev-cpp??
    By Liedje in forum Game Programming
    Replies: 4
    Last Post: 11-22-2004, 02:09 AM
  2. Graphics
    By bali_ari in forum C Programming
    Replies: 3
    Last Post: 09-24-2004, 11:24 AM
  3. Learning 13h Graphics, can't compiel some given code
    By Iamien in forum C Programming
    Replies: 11
    Last Post: 10-30-2003, 09:04 PM
  4. c++ CMU GRAPHICS(code warrior)
    By Unregistered in forum Windows Programming
    Replies: 0
    Last Post: 06-07-2002, 10:55 AM
  5. graphics - help
    By Shadow in forum C Programming
    Replies: 0
    Last Post: 02-06-2002, 07:42 PM