struct a
{
static int s = 0;
};
Czy w C słówko static w strukturze również jest zabronione?
error: expected specifier-qualifier-list before ‘static’
warning: struct has no members
struct a
{
static int s = 0;
};
Czy w C słówko static w strukturze również jest zabronione?
error: expected specifier-qualifier-list before ‘static’
warning: struct has no members
Odpowiedzi na pytanie, niebędące offtopicowymi komentarzami, prosi się umieszczać w odpowiedziach, a nie komentarzach.