c++ dll 传递string参数
摘要:用c++编写了一个dll,需要传递一个路径的变量参数,刚开始想着使用string变量,但是在实践过程中string变量会成为乱码,尽量避免使用string变量传递参数,可以使用const char* str 来代替 string str
阅读全文
posted @ 2022-08-29 22:20
posted @ 2022-08-29 22:20
posted @ 2022-08-29 14:44
posted @ 2022-08-03 17:34