Functions not returning back to main

1
2
3
4
5

if( count > 0 )   
{
return game(count+1);
}


My program is closing and not returning back to main after this function called game has run. Any help is appreciated, thanks guys.

edit: If I return 0 then it takes me back to main and it all works!
Last edited on
Gonna need more info than this.
I'm not going to answer your question, as you keep deleting your posts once they're answered. I'd rather report you instead.
Topic archived. No new replies allowed.