| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
G++和C++的区别和G++的编译参数新人刚开始做题,我的练习机器是CentOS 5.4,gcc4.1和4.4共存。 gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) gcc version 4.4.0 20090514 (Red Hat 4.4.0-6) (GCC) 做题时发现用g++编译没错误,用G++提交是Compile Errorstrlen没定义,看了下FAQ用g++44就看到发现自己的问题是g++版本不对。 Q1: G++和C++的区别(in FAQ?)?看到很多人在两种提交下得到不同结果,有什么要注意的么? Q2: 不知道online judge编译时参数是什么?g++ Main.cc -o Main -O2 -Wall -lm --static -DONLINE_JUDGE么? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator