Re[3]: [Dev-C++] using char* as bitfield
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <ca...@kr...> - 2003-09-29 19:57:07
|
hi Per,
I made some changes to your proposed code.
> bits = malloc(size);
> if (bits) memset(bits,0,size);
now is:
bits = calloc(size, sizeof(char));
this should do the trick.
just thought I'd post it.
gruss
/Christian mailto:ca...@kr...
---
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|