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.
精彩评论