![]() |
#2
blueskiner2013-10-06 11:11
|
#include <iostream>
#include <string>
using namespace std;
struct free_throws
{
string name;
int made;
int attempts;
float percent;
};
void display (const free_throws & ft);
void set_pc (free_throws & ft);
free_throws & accumulate (free_throws & target,const free_throws & source);
请问 声明free_throws & accumulate (free_throws & target,const free_throws & source);这个函数时,free_throws & 中&在这的作用是什么,是代表返回值是引用么?我不用&似乎也可以???