abcminiuser
Zebranky food
Offline
Posts: 10
I love YaBB 1G - SP1!
|
If I use the simple C++ code:
#include <stdio.h> #include "SDL.h"
int main (int argc, char *argv[]) { fprintf (stderr, "Test");
return(0); // Satisfies Compiler (Main() must return a value) }
I get the error "LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup" when building in VC++.Net. Can anyone explain this? The code works fine if I don't include the SDL.h header file.
- Dean :twisted:
|