#include <iostream>

//�ṹ��ָ��
//���ã�ͨ��ָ����ʽṹ���еij�Ա

//���ò����� -> ����ͨ���ṹ��ָ����ʽṹ������

#if(0)

struct Student
{
	std::string name;   //����
	int age;            //����
	int score;          //����
};

int main()
{
	//1������ѧ���Ľṹ�����
	struct Student s = { "����" , 18 ,100 };

	//2��ͨ��ָ��ָ��ṹ�����
	struct Student* p = &s;

	//3��ͨ��ָ����ʽṹ������е�����
	std::cout << "������" << p->name << "���䣺" << p->age << "����:" << p->score << std::endl;


	system("pause");

	return 0;
}

//�ܽ᣺��ͨ���ṹ���ָ�������ʽṹ���е����ԣ�������' -> '

#endif