[ad_1]
Your functions are using passing by value, therefore, a copy is seen within the function.
Please read about passing by reference
void lire_tab(vector<int>& A);
[ad_2]
solved issue with std vector in c++ [closed]
[ad_1]
Your functions are using passing by value, therefore, a copy is seen within the function.
Please read about passing by reference
void lire_tab(vector<int>& A);
[ad_2]
solved issue with std vector in c++ [closed]