From: spiner AT comp DOT vuw DOT ac DOT nz (Steve Piner) Newsgroups: comp.os.msdos.djgpp Subject: Re: Laugh at my mistakes (Errors you wish you're mother tol Date: 26 Oct 1996 23:03:53 GMT Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand. Lines: 26 Message-ID: <54u5cp$eb5@wnnews1.netlink.net.nz> References: <11F7A236E18 AT spy DOT isp DOT nsc DOT ru> NNTP-Posting-Host: depot.comp.vuw.ac.nz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <11F7A236E18 AT spy DOT isp DOT nsc DOT ru>, Ilya P. Ryzhenkov 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) :-)