C++Primer中文版第4版学习笔记.doc

C++Primer中文版(第4版)学习笔记 调用 GNU 或微软编译器 调用 GNU 编译器的默认命令是 g++: $ g++ prog1.cc -o prog1 微软编译器采用命令 cl 来调用: C:\directory cl -GX prog1.cpp acm pc2编译器搭配 下面是pc2配置:(以vc为编译环境) 配置环境变量:jdk设置:path=C:\Program Files\Java\jdk1.6.0\bin; vc编译器设置: path=C:\Program Files\Microsoft Visual Studio\VC98\Bin; lib=C:\Program Files\Microsoft Visual Studio\VC98\Lib; include=C:\Program Files\Microsoft Visual Studio\VC98\include 环境变量配置完成之后,设置下pc2就ok了!pc2设置如下: compile com line: cl.exe {:mainfile} Executable Filename: {:b

文档评论(0)

1亿VIP精品文档

相关文档