티스토리
C++ Chapter 6.15 : 포인터와 참조의 멤버 선택
505일전
2024-02-12 19:48

포인터와 참조의 멤버 선택 포인터 혹은
참조로 구조체/클래스 멤버에 접근할 수
있다. #include using namespace
std; struct Person {
int age; double weight;
}; int main() { Person
person; p...
더보기
참조로 구조체/클래스 멤버에 접근할 수
있다. #include using namespace
std; struct Person {
int age; double weight;
}; int main() { Person
person; p...
출처
https://pokaa.tistory.com/entry/C-Chapter-615-포인터와-참조의-멤버-선택
https://pokaa.tistory.com/entry/C-Chapter-615-포인터와-참조의-멤버-선택
505일전
2024-02-12 19:48