Professional Documents
Culture Documents
Chuong 8 - Kieu Cau Truc
Chuong 8 - Kieu Cau Truc
www.hcmute.edu.vn
LOGO
www.hcmute.edu.vn
LOGO
www.hcmute.edu.vn
LOGO
Cú pháp:
struct tên kiểu cấu trúc
{
Nội dung các trường;
};
www.hcmute.edu.vn
LOGO
Cú pháp:
struct tên kiểu cấu trúc danh sách các biến;
Ví dụ:
struct QuanLySinhVien SV1;
www.hcmute.edu.vn
LOGO
Cú pháp:
struct tên kiểu cấu trúc tên biến
mảng[số phần tử] ;
Ví dụ:
struct QuanLySinhVien LopLTC[40];
www.hcmute.edu.vn
LOGO
www.hcmute.edu.vn
LOGO
Ví dụ:
struct QuanLySinhVien *sv;
www.hcmute.edu.vn
LOGO
www.hcmute.edu.vn