#include <iostream>
#include <vector>
using namespace std;
struct node
{
int a;
int b;
};
vector<node> list1;
int main()
{
node n1;
n1.a=2;
n1.b=3;
list1.push_back(n1);
int temp=(*list1.begin()).a;
cout<<temp<<endl ;
}
*t 为指针的间接访问形式, 意思是访问t所指向的元素值。