Компилятор выдаёт ошибку: undefined reference to `WinMain'
Код:
#include
#include
int main()
{
int a, b;
int Sum, Residual, Multiplication;
a = 1;
b = 2;
Sum = a + b;
Residual = a - b;
Multiplication = a * b;
printf("%d",Sum);
}
Код:
#include
#include
int main()
{
int a, b;
int Sum, Residual, Multiplication;
a = 1;
b = 2;
Sum = a + b;
Residual = a - b;
Multiplication = a * b;
printf("%d",Sum);
}