描述:
D:\myfile\t91\t91Dlg.cpp(199) : error C2601: 'GenID' : local function definitions are illegal
D:\myfile\t91\t91Dlg.cpp(206) : error C2601: 'RandomStringValue' : local function definitions are illegal
D:\myfile\t91\t91Dlg.cpp(282) : error C2601: 'Dosort' : local function definitions are illegal
D:\myfile\t91\t91Dlg.cpp(288) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
t91.exe - 4 error(s), 0 warning(s)
出现这样的错误是不是成员函数定义的类型不对啊,我定义的是私有!!!
解决方案1:
code?
呵呵,如果我没有猜错
你少写了一个 “}”
以至于下面的函数被包到上面的函数内部了
such as:
void foo()
{
......
// 这里少了一个}
void foo2()
{
///
}
local function definitions are illegal
有时候少写一个}会引发很多错误的
你检查一下.
呵呵~