monstrobaf
Messages postés1Date d'inscriptionjeudi 27 mai 2004StatutMembreDernière intervention27 mai 2004
-
27 mai 2004 à 21:53
cs_alain34270
Messages postés85Date d'inscriptionmardi 11 février 2003StatutMembreDernière intervention18 septembre 2005
-
28 mai 2004 à 05:20
voila je comprends plus rien...
ca compile mais l'affichage donne n'importe quoi . comment ca se fait ?
void Pile::empile(const element elt)
{ element * temp;
temp= new element [nbCaseOccupe_+1];
int i=0, indicetemp;
short unsigned int val;
val=elt.priorite;
if (nbCaseOccupe_==0)
{
temp[0]=elt;
cout<<temp[0].priorite;} // car element est une structure avec un nom(string) et une priorite(int)