Thread: Adding graphics to my c++ program

  1. #1
    Deleted Account
    Join Date
    Oct 2013
    Posts
    39

    Adding graphics to my c++ program

    I have learnt some basic of c++ programming ...... but now i want to add some graphics to my c++ programs .So how can i achieve this...helpp

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Depends on what operating system and compiler, but you might look at Allegro.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  3. #3
    Deleted Account
    Join Date
    Oct 2013
    Posts
    39
    i am using windows and right now i want my program to run on cross-platform.........and is GUI different from graphics library stuffs

  4. #4
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by Rohit Kumar View Post
    i am using windows and right now i want my program to run on cross-platform
    Allegro runs on Windows, Linux, MacOSX, iOS, and Android.

    Quote Originally Posted by Rohit Kumar View Post
    and is GUI different from graphics library stuffs
    Yes. If you want cross-platform GUI, Qt is the way to go.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  5. #5
    Deleted Account
    Join Date
    Oct 2013
    Posts
    39
    thn what is difference between GUI and graphics library in c++

  6. #6
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    A graphics library is generally used to draw raw graphics, such as lines, shapes, text, and often 3D models, on the screen. A GUI toolkit, such as Qt, is a higher-level abastraction, which uses a graphics library to draw controls, such as buttons, text boxes, and windows on the screen, and handle their behavior.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  7. #7
    Deleted Account
    Join Date
    Oct 2013
    Posts
    39
    oh..k thanks a lot...u helped me a lot.......

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. adding sound in graphics.h
    By hakanali in forum C Programming
    Replies: 8
    Last Post: 04-25-2011, 05:00 PM
  2. Adding a Map to a program
    By Shogun32 in forum C++ Programming
    Replies: 1
    Last Post: 05-04-2009, 09:42 AM
  3. Adding 2D graphics in OpenGL
    By Da-Nuka in forum Game Programming
    Replies: 7
    Last Post: 04-05-2005, 02:26 PM
  4. HELP with a C/C++ program adding numbers...
    By benw25 in forum C++ Programming
    Replies: 21
    Last Post: 11-26-2001, 06:36 PM
  5. Replies: 11
    Last Post: 11-12-2001, 05:25 PM