Download presentation
Presentation is loading. Please wait.
Published byMeredith Long Modified over 9 years ago
1
Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National University Using the BGI(Borland Graphic Interface) in the Windows.
2
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) WinBGim
3
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.
4
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”. SET C_INCLUDE_PATH=C:\cs1300\include SET CPLUS_INCLUDE_PATH=C:\cs1300\include\g++;C:\cs1300\include SET LIBRARY_PATH=C:\cs1300\lib SET GCC_EXEC_PREFIX=C:\cs1300\lib\gcc-lib\ PATH C:\cs1300\bin;C:\cs1300
5
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)
6
Summary Using the BGI(Borland Graphic Interface) in the Windows.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.