为什么自定义函数总出现local function definitions are illegal错误
大家好,我是新手再这里请教大家一个简单的问题,为什么运用类向导生成的函数,里面代码没有问题,编译的时候总是说有local function definitions are illegal
这样的问题,例如:F:\project\Restrict\RestrictView.cpp(129) : error C2601: 'OnLButtonDown' : local function definitions are illegal
F:\project\Restrict\RestrictView.cpp(142) : error C2601: 'OnLButtonUp' : local function definitions are illegal
F:\project\Restrict\RestrictView.cpp(149) : error C2601: 'OnMouseMove' : local function definitions are illegal
F:\project\Restrict\RestrictView.cpp(155) : fatal error C1004: unexpected end of file found
希望大家赐教