[ create a new paste ] login | about

Link: http://codepad.org/BFWrrQET    [ raw code | output | fork ]

C, pasted on Sep 14:
1
2
3
4
5
6
7
typedef struct atom {
  int element;
  struct atom *next;
};
int main(){
   atom *n;
}


Output:
1
2
3
4
5
6
Line 4: warning: useless storage class specifier in empty declaration
In function 'main':
Line 6: error: 'atom' undeclared (first use in this function)
Line 6: error: (Each undeclared identifier is reported only once
Line 6: error: for each function it appears in.)
Line 6: error: 'n' undeclared (first use in this function)


Create a new paste based on this one


Comments: