瀏覽單個文章
poenxu
Regular Member
 
poenxu的大頭照
 

加入日期: Feb 2004
文章: 67
可以請問一下這些問題嗎?

可以請問一下,關於這些C++的問題提示嗎?
只po問題提示,因為我怕程式一起po上來,會很亂~"~a
而且的話,我一po上來,所有的縮排就都不見了.
--------------------Configuration: 電梯主程式 - Win32 Debug--------------------
Compiling...
電梯主程式.cpp
E:\課本作業\電梯主程式.cpp(33) : warning C4183: 'show_elevator_floor': member function definition looks like a ctor, but name does not match enclosing class
E:\課本作業\電梯主程式.cpp(38) : warning C4183: 'show_elevator_status': member function definition looks like a ctor, but name does not match enclosing class
E:\課本作業\電梯主程式.cpp(29) : error C2440: '=' : cannot convert from 'char *' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
E:\課本作業\電梯主程式.cpp(29) : error C2143: syntax error : missing ';' before '}'
E:\課本作業\電梯主程式.cpp(58) : warning C4183: 'add_sub_user': member function definition looks like a ctor, but name does not match enclosing class
E:\課本作業\電梯主程式.cpp(62) : warning C4183: 'show_user_amount': member function definition looks like a ctor, but name does not match enclosing class
E:\課本作業\電梯主程式.cpp(84) : warning C4183: 'get_keyin': member function definition looks like a ctor, but name does not match enclosing class
E:\課本作業\電梯主程式.cpp(95) : warning C4183: 'show_button_list': member function definition looks like a ctor, but name does not match enclosing class
E:\課本作業\電梯主程式.cpp(143) : warning C4183: 'show_click_button': member function definition looks like a ctor, but name does not match enclosing class
E:\課本作業\電梯主程式.cpp(154) : warning C4551: function call missing argument list
E:\課本作業\電梯主程式.cpp(155) : warning C4551: function call missing argument list
E:\課本作業\電梯主程式.cpp(156) : warning C4551: function call missing argument list
E:\課本作業\電梯主程式.cpp(158) : error C2660: 'get_keyin' : function does not take 1 parameters
E:\課本作業\電梯主程式.cpp(159) : error C2660: 'show_click_button' : function does not take 0 parameters
E:\課本作業\電梯主程式.cpp(161) : warning C4508: 'main' : function should return a value; 'void' return type assumed
Error executing cl.exe.

電梯主程式.obj - 4 error(s), 11 warning(s)
舊 2004-05-25, 06:03 PM #7
回應時引用此文章
poenxu離線中