0_0_38041483_17450.cpp: In function 'int main(int, const char**)':
0_0_38041483_17450.cpp:26:17: error: expected unqualified-id before 'new'
int new;
^
0_0_38041483_17450.cpp:27:28: error: expected type-specifier before ')' token
scanf("%d",&new);
^
0_0_38041483_17450.cpp:29:24: error: expected type-specifier before '<' token
if(new < p->min){
^
0_0_38041483_17450.cpp:30:33: error: expected type-specifier before ';' token
p->min = new;
^
0_0_38041483_17450.cpp:35:34: error: expected type-specifier before ')' token
insert(p, new);
^
|