Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National...
-
Upload
meredith-long -
Category
Documents
-
view
216 -
download
1
Transcript of Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National...
![Page 1: Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National University Using the BGI(Borland Graphic Interface) in the.](https://reader036.fdocuments.net/reader036/viewer/2022082711/56649f255503460f94c3c31a/html5/thumbnails/1.jpg)
Borland Graphics Interface in the Windows
KwangWoo ChoiDepartment of PhysicsKangwon National University
• Using the BGI(Borland Graphic Interface) in the Windows.
![Page 2: Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National University Using the BGI(Borland Graphic Interface) in the.](https://reader036.fdocuments.net/reader036/viewer/2022082711/56649f255503460f94c3c31a/html5/thumbnails/2.jpg)
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
![Page 3: Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National University Using the BGI(Borland Graphic Interface) in the.](https://reader036.fdocuments.net/reader036/viewer/2022082711/56649f255503460f94c3c31a/html5/thumbnails/3.jpg)
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.
![Page 4: Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National University Using the BGI(Borland Graphic Interface) in the.](https://reader036.fdocuments.net/reader036/viewer/2022082711/56649f255503460f94c3c31a/html5/thumbnails/4.jpg)
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
![Page 5: Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National University Using the BGI(Borland Graphic Interface) in the.](https://reader036.fdocuments.net/reader036/viewer/2022082711/56649f255503460f94c3c31a/html5/thumbnails/5.jpg)
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)
![Page 6: Borland Graphics Interface in the Windows KwangWoo Choi Department of Physics Kangwon National University Using the BGI(Borland Graphic Interface) in the.](https://reader036.fdocuments.net/reader036/viewer/2022082711/56649f255503460f94c3c31a/html5/thumbnails/6.jpg)
Summary
• Using the BGI(Borland Graphic Interface) in the Windows.