[C++]How to return more than two variables from a function?

Thank you so much!!!