/in/foo.cc: In function 'void Output(SeqList*)':
/in/foo.cc:23:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0; i<=pL->n; i++)
^~~
/in/foo.cc:26:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%d",pL->data[i]);
^~~~~~
/in/foo.cc:26:24: error: 'i' was not declared in this scope
printf("%d",pL->data[i]);
^
/in/foo.cc: In function 'void Input(SeqList*)':
/in/foo.cc:33:16: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%ld",&a);
^