// 14 将string型字符串转为char字符串
/*#include <iostream>
#include <string>
using namespace std;
int main()
{
	string str="hello word";
	const char *ch;
	ch = str.c_str();
	cout<<ch<<endl;
    return 0;
}*/

  

相关文章:

  • 2021-06-01
  • 2022-12-23
  • 2021-10-15
  • 2021-10-26
  • 2022-12-23
  • 2022-02-09
  • 2021-09-24
  • 2021-11-19
猜你喜欢
  • 2021-08-28
  • 2021-07-17
  • 2021-05-25
  • 2021-11-23
  • 2021-10-07
  • 2021-08-21
  • 2021-07-21
相关资源
相似解决方案