Use std::fill instead of memset to initialize an array to avoid hardcoded count and...