+ 1
return in c++
hello i need to return 2 value in my function in c++ using return but it only read the first one any help ?
1 Answer
+ 2
You can return a struct or you can return by modify a parameter by reference/pointer. Can you post the function? Just for curiosity...