If I have a vector of structs in a method, example:
Code:typedef struct {
double x;
double y;
double z;
} mystruct;
vector<mystruct> myvector;
......
myvector.push_back(...);
...
printvector(???);
How would I pass the vector to another method (by reference)?
Code:void printvector(????){
}
