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.
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 07:02 AM.
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.
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
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
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.