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

后端 未结 8 992
遥遥无期
遥遥无期 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:45

    There are a few answers in this post as well, especially if you're looking for a cross-platform solution:

    UTF8 to/from wide char conversion in STL

提交回复
热议问题