- Mornacale
- Dec 19, 2007
-
n=y where
y=hope and n=folly,
prospects=lies, win=lose,
self=Pirates
|
I suspect that I'm entirely retarded for this problem, but:
I am finding myself unable to create a bitset. I've been using this page as reference; if there is a better one that I should be using, that'd be very helpful.
code:#include <bitset>
#define ITEM_SIZE 1000
bitset<8> itemBit;
The include line works fine, so I'm not somehow missing the bitset definition. However, I get "expected constructor, destructor, or type conversion before ‘<’ token" when I try to actually create the object. I want it to eventually be a bitset of larger length, but I did 8 just so I could copy/paste from the example in my link above.
Any ideas would be extraordinarily appreciated.
e: Problem solved. Thanks. Pay no more attention to the C++ n00b behind the curtain.
Mornacale fucked around with this message at 04:32 on Mar 9, 2008
|
#
¿
Mar 9, 2008 04:07
|
|
- Adbot
-
ADBOT LOVES YOU
|
|
#
¿
May 3, 2024 18:02
|
|