help use graphics?

This is a discussion on help use graphics? within the C Programming forums, part of the General Programming Boards category; i am using codeblocks (mingw) 8.02 ... i cant use any graphics functions ... plz help ! i dl'ed source ...

  1. #1
    Registered User n3cr0_l0rd's Avatar
    Join Date
    Feb 2009
    Posts
    62

    help use graphics?

    i am using codeblocks (mingw) 8.02 ... i cant use any graphics functions ... plz help ! i dl'ed source of graphics.h which then asked for jview.h which again asked for yet another header file...
    I am using Windows Vista.
    Last edited by n3cr0_l0rd; 02-11-2009 at 06:02 AM.

  2. #2
    Registered User
    Join Date
    Feb 2009
    Posts
    138
    graphics.h doesn't work on windows vista. look up the graphics stuff in the win32 library, sdl, allegro, gtk+, and other third party libraries.

  3. #3
    Registered User n3cr0_l0rd's Avatar
    Join Date
    Feb 2009
    Posts
    62
    maybe i didn't get you!

  4. #4
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    Here is a third party graphics library called SDL, that you can use to create graphics, but according to it's FAQ(which could be outdated), Vista is not supported.

    http://www.libsdl.org/

    And here are instructions on how to set up SDL to work with different operating systems and compilers:

    http://lazyfoo.net/SDL_tutorials/lesson01/index.php

  5. #5
    Registered User n3cr0_l0rd's Avatar
    Join Date
    Feb 2009
    Posts
    62
    so... i think i would better use my old XP again... i want to program a lot but this vista is always creating problems either way....
    anyway thanks happyclown, i will give a shot

  6. #6
    Registered User
    Join Date
    Feb 2009
    Posts
    138
    graphics.h is a DOS graphics library. even if you're able to use it in windows xp it's going to be severely restricted in what you can do.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Turtle Graphics, how does it work?
    By freddyvorhees in forum C++ Programming
    Replies: 15
    Last Post: 08-28-2009, 09:57 AM
  2. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 08:33 PM
  3. egavga.bgi problem
    By sunil21 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-22-2003, 05:06 PM
  4. Graphics Devices and Cprintf clash
    By etnies in forum C Programming
    Replies: 6
    Last Post: 05-09-2002, 11:14 AM

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