thisthis 키워드클래스 멤버 함수는 this라는 키워드를 통해 자기 자신을 인스턴스(포인터 타입)를 가져올 수 있다. 클래스 멤버 함수를 호출하기 위해서는 호출한 주체인 어떤 클래스 인스턴스가 존재하게 되는데 그 호출 주체를 this라고 한다. 예시코드class student {public: int stdno; char name[20]; int gender; // 0 = 남자 1 = 여자 student(int stdno, const char* n, int g) { this->stdno = stdno; strcpy(name, n); gender = g; } void printstudent() { printf("학생 번호%d\n", stdno); printf("학생 이름:%s\n", name..