Präprozessor-Definition in VS2010 C++

Ich versuche zu verstehen, die Notwendigkeit und die Verwendung von pre-Prozessor-Definitionen in C++. Ich verstehe die Verwendung von include-guards #ifndef #define und #endif. Aber ich weiß nicht genau verstehen, die Verwendung von der Notwendigkeit der:

Open the project's Property Pages dialog box.
Click the C/C++ folder.
Click the Preprocessor property page.
Modify the Preprocessor Definitions property.
Das ist nur eine Methode das zu tun #define ohne änderung des Codes.

InformationsquelleAutor Deepak B | 2012-01-27

Schreibe einen Kommentar