블로그
- Data Types : 9주차 따라서 variable 에 속한다. class Test { Test* obj; } 여기서 obj 는 object 가 아니고 reference variable 이다. (data type) Test* obj = new Test; 하면.......
- public, static, protected, this //static에 있는 method //객체(ex. new Test())가 없어도 실행 가능 //main메서드가 static인 이유. Data { public Data(int x){ this.x=x; //this는 클래스 통해서 생성된 객체!
- MFC 참고 발생할려면Static 클릭시 WM_COMMAND 발생하려면Static의 Styles에서 Notify 체크 [미완] C++에서 Private 멤버변수 직접 접근분류 > C++ class Data { int nYear; int nMonth; int nDay; } int main( void ) { Data cData; int* ptr; ptr = (int*)&