KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Can I check in C(++) if an array is all 0 (or false) without iterating/looping over every single value and without allocating a new array of the same size (to use memcmp )? I'm abusing an array of bools to have arbitrary large bitsets at runtime and do some bitflipping on it
Tags (comma-separated)
Save Edits
Cancel