
A site for solving at least some of your technical problems...
A site for solving at least some of your technical problems...
Somehow, each time I want to know the version of cl1 I just cannot remember the correct name for the macro to use. This is _MSC_VER. This is set to a large number such as 1300. This number represents the compile version. Not the version of the IDE that started later and seems to have been moving slower too. So, at time of writing, the current IDE is version 8.0, but the corresponding compiler is 1400.
| 1100 | Visual C++ 5.0 | 1995? |
| 1200 | Visual C++ 6.0 | 1997 |
| 1201/2 | eVisual C++ 4.0 | 1997 |
| 1300 | Visual C++ 7.0 | 1999 |
| 1310 | Visual C++ 7.1 | 2000 |
| 1400 | Visual C++ 8.0 | 2005 |