Il te manque des espaces dans le prototype du corps de ta méthode :
- entre le nom du type et __fastcall
- entre __fastcall et le nom de la méthode
	
	nveautype__fastcallTForm1::fctIF(TStringList*Fichier,int k,int j)
 il faut avoir ça
	
	nveautype __fastcall TForm1::fctIF(TStringList*Fichier,int k,int j)
 Ensuite return nveautype ne fonctionnera pas, il te faut retourner une structure de ce type, pas le type lui même :
	
	| 12
 3
 4
 5
 6
 
 |  
nveautype __fastcall TForm1::fctIF(TStringList*Fichier,int k,int j)
{//le corp de la fct
nveautype mon_resultat;
return mon_resultat;
} | 
 
						
					
Partager