home *** CD-ROM | disk | FTP | other *** search
- /*
- demo the BGI 3-D bar graph
- make sure you have defined BGIPATH in your autoexec.bat file !!
- */
- initGraph(0,0,envSymbol("bgipath"));
- bar3d(100,200,250,300,20,1);
- bar3d(400,100,500,300,10,1);
- outTextXY(100,340,"BGI 3-D Bar Graph");
- outTextXY(22,450,"Press any key to continue...");
- readchar();
- closeGraph();
-