All pastes #484419 Raw Edit

wrong track

public cpp v1 · immutable
·published 2007-05-12 06:01 UTC
rendered paste body
#include <map>#include <string>using namespace std;int main( int argc, char **argv ){	map<string, int> Map;	char **pArg = argv;	for( n = 1; n < argc; ++n, ++pArg)	{		string s;		s = *pArg;		map<string, int>::iterator i;		i = Map.find( s );		if ( i == Map.end() )		{					}	}	return 0;}#include <string>#include <iostream>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;}