char * msg = new char[65546];
want to initialize to 0 for all of them. what is the best way to do this in C++?
Absent a really good reason to do otherwise, I'd probably use:
std::vector msg(65546, '\0');