TC already have graphics. h. You have to just set the path for the drivers in it. google it for the precedure. check it in your bin folder for confirmation of graphics.h. in case, it is not there, then download it from any site as it is very easily available. after downlaoding , paste it in specifed folder where your all .h files are.
If you're not using Turbo C, you can't use graphics.h. If you're new to game programming I'd recommend writing a few text-based games first, then look for a more modern graphics library. SDL and Allegro are two names that pop up regularly for starting out.
Then, once you understand all that, then you're ready for the good stuff.
Get an Orwell Dev-C++ install and download libSDL. You'll love it.
(Orwell Dev-C++ and libSDL are both easily googled.)
Edited 4 Years Ago by DeanMSands3
one thing, see procedure on google.com. You will find how to include graphics.h on dev C++. I have worked alot on graphics.h after including it in dev C++. in Dos Box your program will crash(without undefined reason) again and again(it is my personal experience).
Your post -- thinking you can use graphics.h in Dev-C and were surprised you program blew up...
hmm... I am still using graphics.h in DEV C. why are so shocked after listening this ? You can include it in code blocks also. Ans program blew up when you use TC. You run it , after one or twice, your program will crash.
Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...