how to clean a cluttered main()?
In order to keep the main() (in c++) as clean/small as possible, there a a few options you can choose but which of them is best? initialize all variables in main, init them outside of main as global, global in .h, init them in main BUT set there values elsewhere (by passing them over to a function). there may  be other ways but, what is the BEST way to keep the main() as clean/clear/small as possible?
how to clean a cluttered main()?
===

In order to keep the main() (in c++) as clean/small as possible, there a a few options you can choose but which of them is best? initialize all variables in main, init them outside of main as global, global in .h, init them in main BUT set there values elsewhere (by passing them over to a function). there may  be other ways but, what is the BEST way to keep the main() as clean/clear/small as possible?