开发者社区 问答 正文

大神帮帮忙, C++出现如下问题怎么改

C++中出现如下错误怎么修改
cannot convert parameter 3 from 'const unsigned short ' to 'const char ' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

展开
收起
a123456678 2016-03-20 09:56:19 2016 分享 版权
1 条回答
写回答
取消 提交回答
  • 一个是短整数一个是字符串,更有可能的是,你搞错了参数的顺序。

    2019-07-17 19:08:43
    赞同 展开评论
问答分类:
C++
问答地址: