Like Tree3Likes
  • 2 Post By Elysia
  • 1 Post By King Mir

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

This is a discussion on How to add Graphics to any C++ Code?? within the C++ Programming forums, part of the General Programming Boards category; How to add graphics to any c++ code?? Like how do I add picture or any kind of visual in ...

  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をこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,543
    Learn C++ first. Then worry about graphics.
    Salem and dennis.cpp like this.
    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をこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,543
    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,425
    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
    2,360
    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
    2,549
    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.
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the Universe is winning." Rick Cook

  8. #8
    Registered User
    Join Date
    Apr 2006
    Posts
    2,023
    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.
    stahta01 likes this.
    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, 01: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, 08: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, 06:42 PM

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