3 ms·
I'd say the C++ was wrong/unclear. If you want all the ints in your array to be a certain number, use std::fill. If you want all their bits to be 1, use somethi
by hoseja 6y ago
I'd say the C++ was wrong/unclear.
If you want all the ints in your array to be a certain number, use std::fill.
If you want all their bits to be 1, use something like ~0 in the memset.