Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: