qualcuno sa dove si trovano le librerie necessarie per compilare file.c..... se provo a compilare ho questo errorecodice:g++ -o lista lista1.c lista1.c:1:19: error: stdio.h: No such file or directory lista1.c:2:20: error: malloc.h: No such file or directory lista1.c: In function 'int main()': lista1.c:16: error: 'NULL' was not declared in this scope lista1.c:19: error: 'pre' was not declared in this scope lista1.c:19: error: 'printf' was not declared in this scope lista1.c:22: error: 'printf' was not declared in this scope lista1.c: In function 'lis* creaLista(lis*)': lista1.c:31: error: 'malloc' was not declared in this scope lista1.c:32: error: 'scanf' was not declared in this scope lista1.c:34: error: 'NULL' was not declared in this scope lista1.c:36: error: 'NULL' was not declared in this scope![]()

Rispondi quotando

