hi mans!!..
I have a problem, and "googling" ddidn't find nothing..
myu problem is that i have a function such
now the function is right!!..Code:codeguru(int i, int y, int z) { cout << i, y, z; }
but i don't wont to pass the y variable,
so i can do :
but when i call it, whithCode:codeguru(int i, int y=3 , int z) { cout << i, y, z; }
isn't write..Code:codeguru(2, ,4);
why is wrong??..
how can i make it better?




Reply With Quote