enr00
Routinier
Hi, ich versuche jetzt schon ziemlich lang, aber mein Compiler spuckt immer komische Sachen aus, und ich weiss net wieso.
Beim Kompilieren spuckt er folgendes aus:
Code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX 20
struct steam
{
char account[MAX];
char password[MAX];
char email[MAX];
char question[MAX];
char answer[MAX];
}
int main()
{
printf("dgstrg");
return 0;
}
Beim Kompilieren spuckt er folgendes aus:
Code:
17 c:\dev-c_~1\steam.c two or more data types in declaration of `main'
19 c:\dev-c_~1\steam.c incompatible types in return
17 c:\dev-c_~1\steam.c warning: return type of `main' is not `int'