how can convert LPCSTR string into LPCTSTR string?

后端 未结 4 1458
迷失自我
迷失自我 2021-01-22 19:35

i am trying to convert a LPCSTR string into LPCTSTR string. i want to concatenate two string,when i try like this

LPCTSTR str1 = L\"Ra         


        
4条回答
  •  孤街浪徒
    2021-01-22 19:55

    See these notes: Unraveling Strings in Visual C++. The notes discuss the various kinds of strings you'll see in Microsoft C++ development and how to convert between them.

提交回复
热议问题