문제

I encountered some codes as the following:

#define MY_IDENTIFIER
void someCode() 
{
    ...
    MY_IDENTIFIER
    ...
}

What's the upper code doing ?

도움이 되었습니까?

해결책

Absolutely nothing. The pre-processor is simply replacing MY_IDENTIFIER with nothing wherever it encounters it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top