>Is it not possible to recursion in the main function?
Yes, a recursive main is not legal in C++. It's legal in C, but typically reserved for spectacularly awful code.
Huh. Good to know!
If you understand what you're doing, you're not learning anything.