WSunny111 2017-07-10 13:43 采纳率: 50%
浏览 1153

C++菜鸟请教个错误是为什么?如何改正?感谢!!

图片说明
C:\Users\dell\Desktop\execisiii\0.cpp|13|error: field 'w' has incomplete type|
C:\Users\dell\Desktop\execisiii\0.cpp||In member function 'void s::set()':|
C:\Users\dell\Desktop\execisiii\0.cpp|21|error: 'w' was not declared in this scope|
C:\Users\dell\Desktop\execisiii\0.cpp|22|error: 'W' was not declared in this scope|
C:\Users\dell\Desktop\execisiii\0.cpp||In member function 'void s::show()':|
C:\Users\dell\Desktop\execisiii\0.cpp|29|error: 'w' was not declared in this scope|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|

  • 写回答

1条回答 默认 最新

  • HappyerMano 2017-07-11 02:26
    关注

    图太小了根本看不清,你直接把源代码贴出来呗

    评论

报告相同问题?

悬赏问题

  • ¥15 Qt下使用tcp获取数据的详细操作
  • ¥15 idea右下角设置编码是灰色的
  • ¥15 全志H618ROM新增分区
  • ¥20 jupyter保存图像功能的实现
  • ¥15 在grasshopper里DrawViewportWires更改预览后,禁用电池仍然显示
  • ¥15 NAO机器人的录音程序保存问题
  • ¥15 C#读写EXCEL文件,不同编译
  • ¥15 MapReduce结果输出到HBase,一直连接不上MySQL
  • ¥15 扩散模型sd.webui使用时报错“Nonetype”
  • ¥15 stm32流水灯+呼吸灯+外部中断按键