Computer Science Canada Windows |
Author: | Martin [ Thu Jun 12, 2003 1:23 pm ] | ||
Post subject: | Windows | ||
Here's my code:
It crashes, giving me two errors: Quote: LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Cpp1.exe : fatal error LNK1120: 1 unresolved externals Anyone know why? BTW, I'm using MS Visual c++ 6.0 |
Author: | Catalyst [ Thu Jun 12, 2003 2:26 pm ] |
Post subject: | |
works fine for me using dev c++ |
Author: | Tony [ Thu Jun 12, 2003 5:02 pm ] | ||
Post subject: | |||
following code works for VC++
|
Author: | Martin [ Thu Jun 12, 2003 5:48 pm ] |
Post subject: | |
Yeah, I know, but that's still a console app. I just got Dev C++...I actually like it better. |
Author: | Prince [ Thu Jun 12, 2003 5:49 pm ] |
Post subject: | |
yea this works for me too... which is strange considering nuthin else has |