Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は得たCString str
CString str
str[3]~ str[5]新品にコピーしたいです。C ++ char *のメソッドを試しましたが、互換性がありません。
str[3]~ str[5]
では、VC++でこれを行う正しい方法は何ですか
ありがとうございました、
MID関数を使ってみましたか?
str.Mid( 3, 3 ) は、探している部分文字列を提供するはずです。
更新された参照: http://msdn.microsoft.com/en-us/library/b4c90k3d(v=vs.80).aspx