www.digitalmars.com         C & C++   DMDScript  

c++ - Build fails

reply Mohamed <msk aucegpt.edu> writes:
I am getting the following when I try to build a project containg
one class, I am adding the compressed project as an attachement



sc Node.cpp -mn -C -WA -S -3 -a8 -c -gf -oNode.obj
link /CO /NOI /DE /NOPACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:41
94304 /A:512  TreeNode.LNK
Error: C:\DM\BIN\..\lib\SNN.lib(winstart)  : Symbol Undefined
_WinMain 16
Lines Processed: 58  Errors: 1  Warnings: 0
Build failed


please advise
Aug 11 2012
parent Muhamed <msk aucegypt.edu> writes:
The project is missing an int main() function
Sep 03 2012