Are there any header files that will allow you to make graphics in Dos games??? I found a conio.c file whic allowed me to change tex color and use gotoxy. But how about graphics?
Are there any header files that will allow you to make graphics in Dos games??? I found a conio.c file whic allowed me to change tex color and use gotoxy. But how about graphics?
What is C++?
If you have a Borland DOS compiler you can use graphics.h
But this uses BGI graphics which I don't recommend. If you have a DOS compiler, create your own graphics library.
www.brackeen.com will get you started.
Hehe, this is always so helpful to the newbsOriginally posted by Bubba
If you have a DOS compiler, create your own graphics library.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
conio.h you say?
Can you change the background of the entire screen with that? or do one have to make <space> all over the page to make that happen?
it will not do the whole screen.
Or as far as I know anyay.
What is C++?
>>Can you change the background of the entire screen with that
Yes, you can. use the textbackground().
i do it like this...
Code:-- -- textbackground(4); //4 means RED clrscr(); //do stuff with red background textbackground(0); //0 is orignal DOS color BLACK clrscr(); -- --
-
I have borland c++ builder 4 (it came as free full version without support in a pc-mag, so I don't bother buying a newer version) and the help system doesn't focus too much on console apps. is there anywhere I can find any reference to conio functions?
I just opened up the conio.c file and looke ant all the voids and that told me every thing.
What is C++?