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 |
Re:请问POJ用的C++版本是多少?In Reply To:请问POJ用的C++版本是多少? Posted by:huangyunict at 2017-09-13 04:18:55 #define F(x) void func_##x() #define _F(x) F(x) _F(_MSC_VER) {return 0; } int main() { return 0; } Compile Error Main.cpp F:\temp\17614960.220586\Main.cpp(4) : error C2562: 'func_1500' : 'void' function returning a value F:\temp\17614960.220586\Main.cpp(4) : see declaration of 'func_1500' 而1500对应的是MSVC++ 9.0 _MSC_VER == 1500 (Visual Studio 2008) http://poj.org/page?id=1000 也说是2008.没骗人。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator