Re[2]: [Dev-C++] using char* as bitfield
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <ca...@kr...> - 2003-09-29 12:32:17
|
hi David,
> Do you know how many bits you will need at compile time?
yes, I do.
> If you then use a bitset. It is part of the STL.
I should have said, that I am doing this in c not in c++.
> If you don't then you can use vector<bool> and hope your
> compiler vendor
> optimized it for space.
it should be possible to use a char*, right?
gruss
/Christian mailto:ca...@kr...
---
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|