| ||||||||||
| 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 | |||||||||
C++编译器和GCC编译器都很诡异,害得我不下10次编译出错!!C++编译器 原来自动把变量or,看作了||。郁闷死了。。。
gcc编译器不允许用//做注释。
#include <stdio.h>
int main()
{
int or, oc;
scanf("%d%d", &or, &oc);
printf("%d\n", or+oc);
return 0;
}
这个程序用C++提交1000会编译错哦!
这个不知道算不算poj C++编译器的一个失败。
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator