[英]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. 假设有一个像codepad.org这样的系统 - 一个可以接受C ++代码,编译,运行它并呈现控制台输出的黑盒子。 How could I determine what C++ compiler such system uses?
我怎样才能确定这样的系统使用什么C ++编译器?
你可以使用ifdef
fest来检测编译器是什么,使用此页面中编译的所有信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.