Mail Archives: djgpp/1996/10/26/21:42:40
In article <11F7A236E18 AT spy DOT isp DOT nsc DOT ru>,
Ilya P. Ryzhenkov <ILYA AT spy DOT isp DOT nsc DOT ru> wrote:
: RI> Just for starters. Welcome to 'C'. Have fun!
: Where is welcome to 'C++' ? ;-)
But C is where most people cut their teeth - making their stupid
errors for the first time. :-)
My most irritating experience with C was in Turbo C. To initialise
the graphics driver you have to call initgraph which takes int*'s for
the graphics mode and driver to use, and a char* for the path to find
the drivers in. So I had the following code.
int gd = VGA, gm = VGAHI;
initgraph(&gd, &gm, "C:\TC\BGI");
Now why wasn't that working? :-)
Steve (If you can't see it, you might want to consider how I would
enter a newline character into that string)
--
____ ____
/ __//___ \ Steve Piner - spiner AT comp DOT vuw DOT ac DOT nz
\__ \ | _/-----------------------------------------------------
/___/ |_| (yes, I know it's a BUAF, but it's *my* BUAF) :-)
- Raw text -