Witam. Probuje skompilować ten kod w terminalu linuxa:
#include <stdlib.h>
#include <stdio.h>
struct auto
{
int rejestracja;
};
int main()
{
printf("touch me touch me");
getchar();
return 0;
}
wyskakuje błąd:
error: expected ‘{’ before ‘auto’
struct auto
W visual studio ten sam kod wykonuje sie poprawnie. Skąd te różnice?