Also, do y’all call main() in the if block or do you just put the code you want to run in the if block?
You must log in or register to comment.
The
if
block is still in the global scope, so writing the code in it is a great way to find yourself scratching your head with a weird bug 30 minutes later.