© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Chamdom
!
1. 객체 배열 1-1. 객체 배열이란? C에서 int arr[5]로 정수 5개를 묶었듯이, C++에서는 객체 여러 개를 배열로 묶을 수 있다. 학생 100명의 정보를 관리해야 한다면 Student 객체를 100개 일일이 선언하는 대신 배열로 만들면 된다. 1-2. 객체 배열의 선언 형태 class Student { private: string na
No responses yet.