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)) ===|

c c++

1个回答

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

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问