Rem gnucc.bat
path=%path%;c:\MinGW\bin;c:\MinGW\lib;c:\MinGW\include
set lib=C:\MinGW\lib
set include=C:\MinGW\include\c++\3.2.3
g++.exe -L"C:/MinGW/lib" -L"C:/MinGW/lib/gcc-lib/mingw32/3.2.3" -I"C:\MinGW\include\c++" -I"C:\MinGW\include\c++\mingw32" -I"C:\MinGW\include\c++\3.2.3\backward" -I"C:\MinGW\include" %1 %2 %3 %4 %5 %6 %7 %8 %9
Rem bcc.bat
path=%path%;C:\Borland\BCC55\Bin;C:\Borland\BCC55\lib;C:\Borland\BCC55\include
set lib=C:\Borland\BCC55\lib
set include=C:\Borland\BCC55\include
bcc32.exe -L"C:\Borland\BCC55\lib" -I"C:\Borland\BCC55\include" %1 %2 %3 %4 %5 %6 %7 %8 %9
建立这两个文件以后,可以在UltraEdit等编辑器中集成C++编译功能。具体不再赘述。