Is there a way to detect the compiler being used? Namely, is there a
way to have lines of code that are included or ignored by specific
compilers. Or, better, finding certain compiler behaviors to use/
avoid. For example, Visual Studio automatically inserts a
system("PAUSE") statement. Is there any way to detect that VS is being
used and not compile the equivalent line in my program?
way to have lines of code that are included or ignored by specific
compilers. Or, better, finding certain compiler behaviors to use/
avoid. For example, Visual Studio automatically inserts a
system("PAUSE") statement. Is there any way to detect that VS is being
used and not compile the equivalent line in my program?
Comment