bonsoir, si je fait #include "entree.h" dans le main.cpp quand je lance la compilation j'ai ces erreurs:
--------------------Configuration: Jack - Win32 Debug--------------------
Compiling...
Dll_main.cpp
c:\jackland\jackdll\main.h(28) : error C2011: 'Sprite' : 'struct' type redefinition
c:\jackland\jackdll\main.h(38) : error C2011: 'Objet' : 'struct' type redefinition
c:\jackland\jackdll\main.h(47) : error C2011: 'level_jack' : 'struct' type redefinition
c:\jackland\jackdll\main.h(64) : error C2084: function 'int __cdecl draw_player(int,int)' already has a body
c:\jackland\jackdll\main.h(77) : error C2084: function 'int __cdecl draw_object(int,int,int)' already has a body
Error executing cl.exe.
Jack.dll - 5 error(s), 0 warning(s)
pourquoi le compilateur me sort ces erreurs et comment faire pour que ca fonctionne quand j'inclus mon fichier entree.h ??
Merci et bonne soirée
++ Norton