R. Clayton (rclayton@monmouth.edu)
Thu, 27 Jul 2000 18:22:06 -0400 (EDT)
What header do you include when you use multiset? #include<multiset> doesn't
work with or without the .h.
It's in <set>:
$ cat t.cc
#include <iostream>
#include <set>
int main(void) {
multiset<int> iset();
iset.insert(1);
iset.insert(1);
cout << "iset.count(1) = " << iset.count(1) << "\n";
return 0;
}
$ g++ -o t t.cc
$ ./t
iset.count(1) = 2
$
This archive was generated by hypermail 2.0b3 on Fri Aug 11 2000 - 15:25:05 EDT