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

And how i can use this is struct on my cpp funcs