I'm currently using stack library on c++ but i don't know how to receive a stack of numbers in a function.. example---->
int main
{
stack <int> pila1;
juegoEnsayo(pila1);
}
void juegoEnsayo(/*What is supposed to be here???*/ &unaPila)
{
unaPila.push(6);
unaPila.push(9);
unaPila.push(8);
}