Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Bitset Container Class

Bitset Container Class
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2001
Location: San Diego, CA
Status: Offline
Reply With Quote
Jan 16, 2002, 11:46 PM
 
I am having trouble finding the bitset class for C++.

I am using the Developer Tools released in December 2001 (the most recent I think), and I'm missing the Bitset class of the C++ Standard Template Library.

When including the file with the line:
#include <bitset>

I compile with the line:
c++ BitsetTest.cpp

I get the error:
bitset: No such file or directory

I then tried testing the other containers and they all work (they are deque, list, map, set, queue, stack, and vector).

I found all of the header files for these other containers in this location:
/usr/include/gcc/darwin/2.95.2/g++

And I couldn't find any bitset.h or anything.

Does anyone know where I could get the source code for the bitset class, or if I should already have it with Apple's DevTools?

Thanks for any help,

reyzell
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Virginia, US
Status: Offline
Reply With Quote
Jan 20, 2002, 03:28 PM
 
Dunno if it should be there or not (I'm not much of a C++ guy), but a quick Google search came up with this URL:

http://www.sgi.com/tech/stl/download.html
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
Jan 21, 2002, 08:59 PM
 
yeah... i couldn't find it either. maybe there's some reason it's not there, but ... sheesh, that's kinda lame.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:44 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2