2 ms·In C++ you should be using the typesafe functions std::fill and std::copy instead of memset and memcpy.by jey 16y agoIn C++ you should be using the typesafe functions std::fill and std::copy instead of memset and memcpy.