Computer Science Canada c++ bgi graphics help |
Author: | auros [ Sat Dec 17, 2011 11:30 am ] |
Post subject: | c++ bgi graphics help |
hello guys can any one help me with this problem i am having implemnting graphics in borland c++ version 5.02?(it's outdated but that's what we get to use). my problem is :- after carefully setting all the necessary prerequisites and including graphics.h(BGI graphics, DOS standard)when i try to compile the prog. it gives the error "not enough parameters to call initgraph with" whenever the first parameter in initgraph() is set to autodetect.when i try to do it by setting all parameters by hand, all i get is a flashing screen after which the program terminates. PLEASE HELP. P.S can the problem be with my graphics drivers ? my games are also not running |
Author: | md [ Sat Dec 17, 2011 1:15 pm ] |
Post subject: | RE:c++ bgi graphics help |
Perhaps you're missing the header where autodetect is defined? Methinks given that your working with such an out-dated compiler and with non-standard libraries you might be out of luck getting help. If it's a school thing I'd complain endlessly to the teacher about the age of the compiler and suggest using linux for future classes |