60 likes | 285 Views
Borland Graphics Interface in the Windows. KwangWoo Choi Department of Physics Kangwon National University. • Using the BGI(Borland Graphic Interface) in the Windows. WinBGim. 1) Using the BGI by the GCC compiler in the Windows 2) Installation
E N D
Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National University • Using the BGI(Borland Graphic Interface) in the Windows.
WinBGim 1) Using the BGI by the GCC compiler in the Windows 2) Installation winbgim.h (copy to c:/development/Dev-C++/include) winbgim.cpp (copy to c:/development/Dev-C++/include) conio.h (copy to c:/development/Dev-C++/include) graph.h (copy to c:/development/Dev-C++/include) libbgi.a (copy to c:/development/Dev-C++/lib)
Using the borland graphic interface by DEV-C++ 1) Go to "Project" menu and choose "Project Options“. 2) In the "Further object files or linker options" field, enter: “-lbgi -lgdi32”. 3) Week point We Need manage needless Project File.
Using WinBGim in the Mingw(Edit Plus) 1) Mingw Gcc compiler including WinBGim 2) Download and install the free cs1300 tools, as described in WWW.CS.COLORADO.EDU/~MAIN/CS1300/README.HTML 3) Installation run.bat (copy to c:/cs1300/bin) 4) Setting the Environment Variable in Windows Windows 98 : Write in the “Autoexec.bat” file. Windows NT : Click the “My Computer” by right button on mouse, select the “Properties” and then “Advanced” tab, click the “Environment Variables” button, select System Variables’s “Path”.
5) Setting the Edit Plus • Click the ”도구” menu and select “사용자 도구 설정” • Select “추가” button, and make new order. • In the “명령” field, enter: c:\cs1300\bin\g++.exe • In the “인수” field, enter: $(FileName) -lbgi -lgdi32 -luser32 -o $(FileNameNoExt).exe • Make the other order. • In the “명령” field, enter: c:\cs1300\bin\run.bat • In the “인수” field, enter: $(FileNameNoExt)
Summary • Using the BGI(Borland Graphic Interface) in the Windows.