开发者

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

开发者 https://www.devze.com 2023-02-21 23:43 出处:网络
Suppose there\'s a system like codepad.org - a black box t开发者_开发问答hat can accept C++ code, compile it, run it and present the console output. How could I determine what C++ compiler such system

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


You could have an ifdef fest to detect what the compiler is, using all the information compiled in this page.

0

精彩评论

暂无评论...
验证码 换一张
取 消