在文件中写wchar_t * [英] write wchar_t* in file
本文介绍了在文件中写wchar_t *的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
如何在文件中写入wchar_t *类型?
解决方案
您通常不会将指针值写入文件。您可能想要将宽字符串写入文件。在这种情况下,例如,请参阅此页面中的示例代码在cppreference的std :: wcslen [ ^ ]。
将wchar_t元素写入文件 [ ^ ]
需要说明读取和写入wchar_t *到二进制文件 [ ^ ]
hi how can write wchar_t* type in file ?
解决方案
You usually don''t write a pointer value to a file. Probably you want to write a wide string to a file. In such a case, see, for instance, the sample code in this page std::wcslen at cppreference[^].
writing wchar_t element''s to file[^]
Need explanation of reading and writing of wchar_t* to binary file[^]
这篇关于在文件中写wchar_t *的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文