Bonjour,
Je veux ecrire sur un seul fichier exo1.cpp
En faisant make, j'ai :
make -k
gcc exo1.cpp
exo1.cpp:19: error: new types may not be defined in a return type
exo1.cpp:19: note: (perhaps a semicolon is missing after the definition of ‘Chrono’)
exo1.cpp:19: error: two or more data types in declaration of ‘f’
exo1.cpp: In function ‘int main()’:
exo1.cpp:26: error: ‘f’ was not declared in this scope
make: *** [all] Erreur 1
Compilation exited abnormally with code 2 at Thu Jun 12 09:10:50
Pourquoi pour void , il ne reconnait pas le type void ?
Suggestions pour debugguer?
Partager