[ CnUnix ] in KIDS 글 쓴 이(By): dalgong (달공아저씨) 날 짜 (Date): 2004년 11월 9일 화요일 오후 06시 47분 57초 제 목(Title): Re: C++ iostream으로 debug macro #ifdef DEBUG #define debug cerr #else #define debug if (1) {} else cerr #endif 이러면 안되나요? "while (0) cerr" 이런 유사품도 있어요 |