On Wednesday, 10 August 2022 at 12:36:42 UTC, pascal111 wrote:
1) I used "exit()" from "core.stdc.stdlib;" module, but someone can say this isn't the D way to exit the program.
It is better to simply return a value from main instead.
2) I used "goto", I heard from someone before that using "goto" isn't good programming feature.
Don't listen to people who are wrong.