I want to be able to pass the argv parameter given within the main() function of an app to a class, and assign it to a class member, such as :-
// from main
main(int argc, char* argv)
// in myClass
CMyClass::Init(int argc, char* argv)
m_nArgc = argc;
m_szArgv = argv; // is this correct;
What I would like to know, is what data type must m_szArgv be declared as and how should argv be assigned to it?