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.