C++结构体赋值

  RT:

 

1 struct node
2 {
3        int a,b;
4        char c;      
5 }f;
6 
7 ......
8 
9 f=(node){1,2,'c'};
原文地址:https://www.cnblogs.com/t-s-y/p/11766809.html