No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Greetings everyone... I'm new to Standard Template Libraries thus I'm encountering problems now and then... I managed to get some examples on integer lists to work but the string lists give me nothing but grief... What I'm trying to do is to read a series of words from an input … |
|
I'm about to kill myself... This is very elementary stuff, yet I still can't do it. Let me first give you the code and then explain my problem : [CODE] wordListIterator = wordList.begin(); list<string>::iterator wordListNextIterator = wordList.begin(); wordListNextIterator++; while(wordListIterator != wordList.end()) { /* Counting duplicates */ int count = 1; … |