std::stringstream oss; 
for(unsigned int i=0;i < buffer->size();i++){ 
oss<<(*buffer)[i]; 

string temp=oss.str(); 
const char * buf=temp.c_str(); 

相关文章:

  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2021-10-15
  • 2021-11-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-03
  • 2021-12-17
  • 2021-12-08
  • 2022-02-10
  • 2021-07-13
  • 2021-07-25
相关资源
相似解决方案