Hi, thanks for your reply. As an answer of you question,no I don't ,the main file looks like:
1 2 3 4 5 6 7 8 9 10 11 12
int main ()
{
std::vector<double>IPWeights;
reference(IPWeights);
int size_weights=IPWeights.size();
for (int i=0; i<size_weights; i++)
{
std::cout<<IPWeights[i]<<std::endl;
}
}
I am compiling and running this through terminal window with following command:
g++ -Wall main.cpp reference.cpp -o print
do you think is there a problem with this command?