C++连接错误,搞不懂。各位帮忙看看。
allan 2000-09-04 10:23:00 Clib.h 中定义了struct CStash
Clib.cpp中
#include "CLib.h"
#include <iostream>
#include <cassert>
using namespace std;
其他源码省掉了,因为是书上的例程。
编译无错误,但link时,出错:
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
这个错误是什么意思呀?
多谢了。
苦恼