将system :: string转换为char * [英] convert system::string to char*

查看:86
本文介绍了将system :: string转换为char *的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



您知道如何在C ++ / cli中将System :: String变量转换为char *吗?



非常感谢你。

祝你好运。

MiQi

解决方案

请参阅此 Stack Overflow 问题:在C ++ / CLI中使用char *和System :: String进行转换的最佳方法是什么 [ ^ ]。


看到这篇文章,它可能就是你要找的东西



点击clack patty wack! [ ^ ]

Hello everyone,

Do you know how to convert a System::String variable to a char* in c++/cli?

Thank you very much in advance.
Best regards.
MiQi

解决方案

See this Stack Overflow question: "What is the best way to convert between char* and System::String in C++/CLI"[^].


See this article, it might be what you are looking for"

click clack patty wack![^]


这篇关于将system :: string转换为char *的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆