![]() |
|
論壇說明 |
歡迎您來到『史萊姆論壇』 ^___^ 您目前正以訪客的身份瀏覽本論壇,訪客所擁有的權限將受到限制,您可以瀏覽本論壇大部份的版區與文章,但您將無法參與任何討論或是使用私人訊息與其他會員交流。若您希望擁有完整的使用權限,請註冊成為我們的一份子,註冊的程序十分簡單、快速,而且最重要的是--註冊是完全免費的! 請點擊這裡:『註冊成為我們的一份子!』 |
![]() ![]() |
|
主題工具 | 顯示模式 |
|
![]() |
#1 (permalink) |
管理版主
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() 原來 是為了解決2 而問1
char b[]={'T','E','S','T'}; LPSTR a; LPCTSTR : A 32-bit pointer to a constant character string that is portable for Unicode and DBCS. LPTSTR : A 32-bit pointer to a character string that is portable for Unicode and DBCS. LPCSTR : A 32-bit pointer to a constant character string. LPSTR : A 32-bit pointer to a character string. b 是 字串陣列 a 是 字串類別,應該說是字元指標 所以你可以直接引用這些類別(當然要引入適當標頭檔) |
![]() |
送花文章: 2056,
![]() |