Bonjour
Lorsque je compile j'obtiens ces erreurs que je ne comprends pas :
Voici le main.cpp :Citation:
Error E2176 main.cpp 3: Too many types in declaration
Error E2111 main.cpp 4: Type 'plane' may not be defined here
d ou peut venir l'erreur ?Code:
1
2
3
4
5
6
7
8
9
10
11
12
13 #include"FlyingMachine.h" #include"plane.h" void main() { FlyingMachine f= FlyingMachine(); f.TurnOnEngine(); f.TakeOff(); // f.land(); plane p= plane(); p.land(); }