首页 > TAG信息列表 > accumlate
【C++】引用作为函数形参的练习
1 #include <iostream> 2 3 using namespace std; 4 5 struct free_throws 6 { 7 string name; 8 int made; 9 int attempts; 10 float percent; 11 }; 12 13 void set_pc(free_throws &ft); 14 void display(const free_throws &f