Le compilateur m'insulte en me disant:
I:\C++\Projects\SDL\Gifts Rush\mainNiveaux.cpp||In function `int niveau(int, SDL_Surface*)'
I:\C++\Projects\SDL\Gifts Rush\mainNiveaux.cpp|43|error: `charger' is not a class or namespace|
I:\C++\Projects\SDL\Gifts Rush\mainNiveaux.cpp|43|error: invalid conversion from `SDL_Surface*' to `int'|
I:\C++\Projects\SDL\Gifts Rush\mainNiveaux.cpp|43|error: initializing argument 1 of `int niveau(int, SDL_Surface*)'|
I:\C++\Projects\SDL\Gifts Rush\mainNiveaux.cpp|43|error: invalid conversion from `int' to `SDL_Surface*'|
I:\C++\Projects\SDL\Gifts Rush\mainNiveaux.cpp|43|error: initializing argument 2 of `int niveau(int, SDL_Surface*)'|
||=== Build finished: 5 errors, 0 warnings ===|
Mais je ne vois pas ce qui a de mauvais...
pouriez-vous voir ce qui ne va pas?
Déclaration de la classe:
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
8
9
10
11
12
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

 

 
		
		 
         
 

 
			
			
 
   


 is not a class or a namespace alors qu'il est déclarer
 is not a class or a namespace alors qu'il est déclarer
				
 Répondre avec citation
  Répondre avec citation

 
			 
    Envoyé par ST-THÉTIQUE
 Envoyé par ST-THÉTIQUE
					


 
			 
  
						 
						
Partager