Ecco cosa è uscito nel terminale
loris@Portatile:~$ /home/loris/Documenti
bash: /home/loris/Documenti: è una directory
loris@Portatile:~$ g++ 1.CPP -o 1
1.CPP:1:18: error: conio.h: Nessun file o directory
In file included from /usr/include/c++/4.1.3/backward/iostream.h:31,
from 1.CPP:2:
/usr/include/c++/4.1.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
1.CPP:5: error: ‘::main’ must return ‘int’
1.CPP: In function ‘int main()’:
1.CPP:7: error: ‘clrscr’ was not declared in this scope
1.CPP:13: warning: converting to ‘int’ from ‘double’
1.CPP:15: error: ‘getch’ was not declared in this scope
loris@Portatile:~$ ./ 1
bash: ./: è una directory
loris@Portatile:~$ ./1
bash: ./1: Nessun file o directory
loris@Portatile:~$