Most of the sellers are selling under a business name, and you can't jail a business.
The best option would be to blanket ban brick chargers and regulate fixed PD faceplates for wall as a spur from existing sockets. That way they'd be checked with during during an EICR.
Question
juan
primitive bool variables have "false" by default.
Is there a better way of initializing an array of boolean value to "true"?
Normally this is the way :
for(int i = 0; i < n; i++) array = true;
Is there a way say, during declaration
bool array[10000] = {false};
and have all 10000 initialized to false without using the for loop?
Link to comment
https://www.neowin.net/forum/topic/278351-initialize-array-of-boolean-values/Share on other sites
12 answers to this question
Recommended Posts