2012年9月10日 - There are plenty of similar inquires, but in my case I don't understand ... 4 isn't the size of the string, because samplestring isn't a string. It's a char* ...
stackoverflow.com