Server/C++
전처리기 (#)
Juzdalua
2024. 7. 20. 15:04
전처리기는 컴파일 단계에서 가장 먼저 실행된다.
#define
전역변수와 비슷하다.
#include <iostream>
using namespace std;
#define ABC 1;
int main(){
int abc = ABC; // abc = 1
cout << abc << flush;
return 0;
}