Exemple #1
0
int main()

{
	char present[11000],
		 word[1000];
	int count = 0;

	//freopen("a.in","r",stdin);
	
	while(cin.getline(word, 1000) && word[0] != ':')
		strcpy(iDic[count++], word);

	while(cin.getline(present, 1000))
		seperateFunction(present, count);

	for(pos = smap.begin() ; pos != smap.end() ; pos++)
		cout<<pos->second<<endl;
	return 0;
}
stringMap merge(stringMap a, stringMap b)
{
	stringMap tmp(a);
	tmp.insert(b.begin(), b.end());
	return tmp;
}