How could one go about generating graphics in C or C++ without a library?
I have tried mode 13h, and my compiler (Dev-C++) always gives me error messages.
And if anybody wants to answer this too, I can't seem to run my programs in MS-DOS
(Yes, I'm trying to use MS-DOS), I know that programs compiled in windows tend
to work only in windows but is there a way I can convert them, or a compiler that can make .EXE's that are meant FOR MS-DOS?
I've tried Pacific C compiler, Turbo C, and DJGPP, and none of them have worked for me (Pacific C works a little, but it doesn't compile correctly most times).
And I also wanted to mention I am DEFINITELY not new to C++ (Although I am not as well versed in C) I just haven't gotten around to graphics yet.
Then my guess is you'd have to develop it in DOS. And use a DOS compiler. This would because of the OS linked files that would need to be compiled in. (Similar to doing it on Windows and Linux).
I've managed to get lucky and find a compiler.
It was actually found while I was looking up some stuff about QBasic.
For anybody else who wants these basic functions, it's called FreeBasic, it was originally a Basic compiler, but they've added capability to use C functions and C libraries in it.
You could call it a C compiler with Basic functions attached (Basic has graphics capabilities). It even has mouse functions. With no external libraries needed for the Graphics/Mouse capabilities.
thanks for the help though!
P.S. -- OpenWatcom didn't work either, it would always say that it couldn't be run in DOS mode.