What is the simplest way to convert char[] to/from tchar[] in C/C++(ms)?

后端 未结 8 993
遥遥无期
遥遥无期 2020-12-03 17:02

This seems like a pretty softball question, but I always have a hard time looking up this function because there seem there are so many variations regarding the referencing

8条回答
  •  渐次进展
    2020-12-03 17:52

    Here is the CPP code that duplicates _TCHAR * argv[] to char * argn[].

    http://www.wincli.com/?p=72

    If you adopting old code to Windows, simple use define mentioned in the code as optional.

提交回复
热议问题