摘要:
在c++中使用c语言的函数时候,该函数必须在c文件中声明extern "C"才可以使用 如:extern "C" c_function_name(int, int); 阅读全文
posted @ 2016-10-12 21:10
wjbooks
阅读(696)
评论(0)
推荐(0)
摘要:
将string转换成char类型 const char *c = string.c_str() char转换string char *c_name = "char" string str_name = c_name 阅读全文
posted @ 2016-10-12 21:07
wjbooks
阅读(321)
评论(0)
推荐(0)
摘要:
tostring(int) fromstring(string ) c++11新方式 阅读全文
posted @ 2016-10-12 21:05
wjbooks
阅读(409)
评论(0)
推荐(0)

浙公网安备 33010602011771号