Bitsets ?

Alvin Beach abeach at
Wed Apr 13 17:04:11 BST 2005

On April 13, 2005 12:47 pm, cantabile wrote:
> Alvin Beach wrote:
> >On April 12, 2005 12:52 pm, cantabile wrote:
> >>Hi,
> >>This may not be directly related to Kdevelop. Sorry if it isn't.
> >>Well, I'm trying to use STL bitset structure but when I compile I get
> >>"no such file" either with #include<bitset.h> or <bitset>.
> >>How come ?
> >
> >I don't have bitset.h on my system (suse 9.1)
> >
> >I do have bitset in /usr/include/g++/bitset   so try:
> >
> >#include <bitset>
> >
> >Sorry I can't be more help.
> Well, I have it too. I could manage and use it by including <bitset> AND
> using the st::bitset<n> syntax, instead of of bitset<n> as I used to do.
> Thanks for the idea, Alvin.

To use the bitset<n> syntax, put:

using namespace std;

after the include statement.

Please reply to only this mailing-list. Thanks.

to unsubscribe from this list send an email to kdevelop-request at with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list