extern1 [MFC] 전역변수 사용하기 이것도 유용하죠 ㅋ class하나에 static으로 전역 변수를 몽땅 넣는 방법도 사용했었는데.. 다 까먹어버렸어요. 알려주실 분 없나요. ㅠㅡㅠ 출처 : http://redeyesofangel.tistory.com/375 예_// StdAfx.h#include ...#include ...#include ......extern int g_nData; // StdAfx.cpp#include ......int g_nData = 0; 2012. 7. 30. 이전 1 다음