The CCmdLine class will parse all of the parameters passed to your C++ Windows or Console application and make them available to you in a very convenient and usable array. Full working example included.