- cross-posted to:
- [email protected]
- [email protected]
- cross-posted to:
- [email protected]
- [email protected]
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?
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?
Ok, here me out, this actually makes more sense NONO!, put your pitch forks down.
Think about it, defining the entry point like any other function is rather confusing and doesn’t distinguish it’s importance and different function in coding, the entry point is more than just where the program starts, well it is but the entry point sometimes needs to be redefined because the hardware or software requires it, for example when running C on an X86 processor you have to redefine the entry point like so:
void _start() { }