C Tutorial/Preprocessor/Preprocessor — различия между версиями
Admin (обсуждение | вклад) м (1 версия: Импорт контента...) |
(нет различий)
|
Текущая версия на 13:31, 25 мая 2010
Preprocessing
You can use preprocessor to define constant and substitution.
<source lang="cpp">#include <stdio.h>
- define const 5
main(){
int i= 4; i = i * const; printf("%d \n", i);
}</source>
20