הודעת שגיאה error LNK2019
שלום אני כותב תוכנית ב
C בVS 2012
וקיבלתי את ההודעה הזאת
Error 1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
מה היא אומרת?
זאת התוכנית:
|#include <stdio.h>
#define MIN_IN_HOUR 60;
#define HOUR_IN_DAY 24;
#define SEC_IN_MIN 60;
typedef struct hour{
unsigned int hour;
unsigned int min;
unsigned int sec;
}hour;
typedef struct date {
unsigned int day;
unsigned int month;
unsigned int year;
}date;
struct time{
date d;
hour h;
};
int main (void){
printf("fff");
return 0;
}|
שלום אני כותב תוכנית ב
C בVS 2012
וקיבלתי את ההודעה הזאת
Error 1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
מה היא אומרת?
זאת התוכנית:
|#include <stdio.h>
#define MIN_IN_HOUR 60;
#define HOUR_IN_DAY 24;
#define SEC_IN_MIN 60;
typedef struct hour{
unsigned int hour;
unsigned int min;
unsigned int sec;
}hour;
typedef struct date {
unsigned int day;
unsigned int month;
unsigned int year;
}date;
struct time{
date d;
hour h;
};
int main (void){
printf("fff");
return 0;
}|