why do i keep getting this error "unresolved external symbol _mainCRTstartup"?
#include <stdio.h>
typedef enum race_location {
NEW_ORLEANS,
WASHINGTON_DC,
ST_LOUIS,
LOS_ANGELES,
CHICAGO
} race_location;
why do i keep getting this error "unresolved external symbol _mainCRTstartup"?
#include <stdio.h>
typedef enum race_location {
NEW_ORLEANS,
WASHINGTON_DC,
ST_LOUIS,
LOS_ANGELES,
CHICAGO
} race_location;
Is that ALL program? You need at least main() function in your app to run, create a new console add template and you'll see the proper declaration
Did You defined valid entry point? This is a console application?
int main(int argc, const char** argv)
{
return 0;
}