Some int variables are replaced with size_t to avoid VC's warning.std::string::copy has been replace with strncpy.
Some int variables are replaced with size_t to avoid VC's warning.
std::string::copy has been replace with strncpy.