|
![](/i/fill.gif) |
In article <39b8cf06$1@news.povray.org> , Warp <war### [at] tag povray org> wrote:
> I always like to show in these cases this example I made:
>
> #include <iostream>
> #include <map>
> #include <string>
> using namespace std;
> int main()
> { typedef map<string,unsigned> wlist_t;
> wlist_t words;
> string word;
> while(cin) { cin >> word; words[word]++; }
> for(wlist_t::iterator i=words.begin(); i!=words.end(); i++)
> cout << i->first << ": " << i->second << endl;
> }
Is this by any chance the only example you have? ;-)
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |