1>  main.cpp
1>  _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>main.obj : error LNK2001: 无法解析的外部符号 "public: __thiscall workman::workman(void)" (??0workman@@QAE@XZ)
1>D:\graduation project\ChineseShow\Release\ChineseShow.exe : fatal error LNK1120: 1 个无法解析的外部命令原来没错,但是在main.cpp中加了
 
 pDC=new CDC();
 w1=new workman();
 w1->display(pDC);之后便出现了上述错误。workman 定义如下class workman : public RectF{
public:
workman(void);
~workman(void);
void display(CDC*);
};头文件如下#include "stdafx.h"
#include <string>
#include <windows.h>
#include <objidl.h>
#include <gdiplus.h>
#include<afxwin.h>
#include <WinSDKVer.h>
using namespace Gdiplus;
using namespace std;
#pragma comment (lib,"Gdiplus.lib")
这是一个很大的问题…………求指教^^