I have
int function(string n){
vector<int> n;
}
I want to call functions using the vector n, but..for some reason it keeps calling the string n functions..I thought it would call the closest dat
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Although really, just rename the variable. Don’t ever have variables with the same name in the same scope. Ever. People will hate you, and then there’s all those nasty surprises in the afterlife.