複製粘貼代碼時要注意空白字符的問題

 std::string ConvertToString(System::String^ str) {      int q=(int)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(str);      char* p=(char*)q;      return std::string(p); }ide       今
相關文章
相關標籤/搜索