G
George Poulose
#include <string>
using namespace std;
{
const string s("George");
char* p = const_cast<char*>(s.c_str());
strcpy_s(p, s.length(), "John");
}
Thanks.
George
using namespace std;
{
const string s("George");
char* p = const_cast<char*>(s.c_str());
strcpy_s(p, s.length(), "John");
}
Thanks.
George