简体   繁体   中英

How can I determine which C++ compiler is used if I only can alter the C++ code and inspect console output?

Suppose there's a system like codepad.org - a black box that can accept C++ code, compile it, run it and present the console output. How could I determine what C++ compiler such system uses?

你可以使用ifdef fest来检测编译器是什么,使用此页面中编译的所有信息。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM