#include #include using namespace std; int main( int argc, char **argv ) { map Map; char **pArg = argv; for( n = 1; n < argc; ++n, ++pArg) { string s; s = *pArg; map::iterator i; i = Map.find( s ); if ( i == Map.end() ) { } } return 0; } #include #include using namespace std; class A { public: //constructor A( int _i, string _s ) { i = _i; s = _s; } // int get_i() // { // return i; // } int i; string s; }; int main(){ A a( 345, "hi" ); cout << a.i; return 0; }