Outtextxy(50,100,"Graphics in Dev-C ") // print text in window graphics Initwindow(300, 300) // init window graphics Save project and you will see the main file content a simple program like this: Next Dev C you boot up, in File->New–>Project…-> Console Graphics Application If you use win 64 bit, download the 32 bit on the ordinary settings and copy the files into the directory as above but from C:Program Files (x86)Dev-Cpp… – 2 file 6-ConsoleAppGraphics.template and file ConsoleApp_cpp_graph.txt in directory Templates (usually C:\Program FilesDev-CppTemplates) – file winbgim.h and graphics.h in directory include (usually C:\Program FilesDev-CppMinGW32include) – file libbgi.a in directory lib (usually C:\Program FilesDev-CppMinGW32lib) How to make simple, Just copy the files into the folder is finished.įirst you download the necessary files hereĪfter you unzip the downloaded will see a folder “ – Graphics in Dev-C” in directory 5 file: The use of graphics on the dev-C bit difficult compared to when on Turbo C Turbo C allows use even longer dev-C is not, we need some small steps to set up graphics in Dev-C. Update : Tested successfully on all systems win 64 and 32 bit.
0 Comments
Leave a Reply. |