Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:请问POJ用的C++版本是多少?

Posted by rhoaias at 2017-09-13 12:06:02 and last updated at 2017-09-13 12:14:44
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator