Jul-21-2017, 07:12 PM
(Jul-21-2017, 06:03 PM)snippsat Wrote: It's scary that you call theI don't think I fully understand the purpose of the main function. Where, why, and how often should I call this function?main()
function14
times
(Jul-21-2017, 06:03 PM)snippsat Wrote: Some point i name the functionI'll take your advice and make a menu() function as opposed to referencing the main() function as many times as I have.menu()
not main(),
a lot people use main() but name no sense because it can be everything.
menu()
is just called 1 time,after calculate always fall back intomenu()
again.
There can make new calculation or Quit out.
Thanks for the help!