Possible Duplicate:
Calling functions from main() in c++
Hello. I have a programme that has about 100 cl开发者_运维技巧asses and more than 1000 functions spread over 20 header and source code files. What I want to know is that how I can pass arguments to so many functions in so many files? What is the procedure adopted for this in main()? Regards, Supriyo
Take a look at the Boost.Program_options module.
精彩评论