Bitset<3000000 & gt; b;
Want to reset after use, in which way soon?
A for loop feel slower,
Memset (b, 0, sizeof (b)); Not by
Error 1 error C2664: "void * memset (void *, int, size_t)" : 1 cannot be parameters from "STD: : bitset<3686400 & gt;" Into a "void *"
2 IntelliSense: there is no from "STD: : bitset<3686400 u & gt;" To the appropriate conversion function "void *"
Using the environment vs2013 c + +
An array is a problem with the Settings?
CodePudding user response:
The NEW one,CodePudding user response:
ZeroCodePudding user response:
The reset () function