Главная страница | назад





Article #19383: Checking Compiler version at compile time

 Question and Answer Database
FAQ4383C.txt :Checking Compiler version at compile time
Category :Compiler
Platform :All-32Bit
Product :All-CBuilder,
Question:
In Delphi you can check the compiler version at compile
time using an IFDEF to check and see if a certain
symbol has been defined. In Delphi version 1.0
defines VER80 and 2.0 defines VER90.
How can I check which versions of C++Builder are being
used?
Answer:
From Pascal code:
BCB1 — VER93
BCB3 — VER110
BCB4 — VER125
2/17/1999 2:06:59 PM

Last Modified: 01-SEP-99