hellowword程序代码出错
代码程序代码:
# include <stdio.h> int main(void) { printf("Hello World!\n"); return() }编译提示
程序代码:
--------------------Configuration: sdasdsdsdsad - Win32 Debug-------------------- Compiling... sdasdsdsdsad.cpp C:\Documents and Settings\Administrator\桌面\C\sdasdsdsdsad.cpp(7) : error C2059: syntax error : ')' C:\Documents and Settings\Administrator\桌面\C\sdasdsdsdsad.cpp(8) : warning C4508: 'main' : function should return a value; 'void' return type assumed 执行 cl.exe 时出错. sdasdsdsdsad.exe - 1 error(s), 0 warning(s)