一个小问题,想请大家帮帮忙~谢啦!
--------------------Configuration: 1 - Win32 Debug--------------------Compiling...
1.cpp
D:\1\1.cpp(194) : error C2601: 'creat' : local function definitions are illegal
D:\1\1.cpp(243) : error C2601: 'creat2' : local function definitions are illegal
D:\1\1.cpp(350) : error C2601: 'pai' : local function definitions are illegal
D:\1\1.cpp(391) : error C2601: 'add' : local function definitions are illegal
D:\1\1.cpp(448) : error C2601: 'del' : local function definitions are illegal
D:\1\1.cpp(512) : error C2601: 'xiugai' : local function definitions are illegal
D:\1\1.cpp(579) : error C2601: 'findnum' : local function definitions are illegal
D:\1\1.cpp(622) : error C2601: 'findname' : local function definitions are illegal
D:\1\1.cpp(666) : error C2601: 'findname2' : local function definitions are illegal
D:\1\1.cpp(710) : error C2601: 'findtitle' : local function definitions are illegal
D:\1\1.cpp(753) : error C2601: 'jisuan' : local function definitions are illegal
D:\1\1.cpp(800) : error C2601: 'jisuan2' : local function definitions are illegal
D:\1\1.cpp(836) : error C2601: 'jisuan3' : local function definitions are illegal
D:\1\1.cpp(872) : error C2601: 'put' : local function definitions are illegal
D:\1\1.cpp(882) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.
1.exe - 1 error(s), 0 warning(s)
除了main函数,所有编写的函数都这样,想请问大家是什么原因啊?