做一个Lib文件,很简单,就一个头文件和.cpp文件.运行时出现下列错误:
g:\wyg\新建文件夹\mylib\myrect.h(2) : see declaration of 'CMyRect'
G:\wyg\新建文件夹\MyLib\MyRect.cpp(21) : error C2065: 'm_nLength' : undeclared identifier
Error executing cl.exe.