Mon VS est fou ???

wismerhill__ Messages postés 88 Date d'inscription mercredi 1 juin 2005 Statut Membre Dernière intervention 26 juillet 2007 - 24 juil. 2006 à 19:00
wismerhill__ Messages postés 88 Date d'inscription mercredi 1 juin 2005 Statut Membre Dernière intervention 26 juillet 2007 - 24 juil. 2006 à 19:00
Salut a tous j'ai un probleme incomprehensible, qd je met mon curseur sur le vecteur arrRating (code ci dessous)
VS m'annonce du std::vector !!!
changer le nom de la variable n'y fait rien
Pourtant dans d'autres classes je n'ai aucun probleme avec mes std::vector<string>
J'ai bien inclu <vector> et <string> dans le .h ...

//------------------------------------------------------------------------------------------



std::string Asset::Upgrade(std::string rating,

unsigned



int
nbnotch)


//------------------------------------------------------------------------------------------

{
std::vector<std::string> arrRating ;
arrRating = Asset::GetArrayRating();


unsigned



int
index = Asset::Match<std::string> (rating,arrRating);


return
arrRating[__min(arrRating.size(), index + nbnotch)];
}








wis :
in tartiflette I trust (like the others)

1 réponse

wismerhill__ Messages postés 88 Date d'inscription mercredi 1 juin 2005 Statut Membre Dernière intervention 26 juillet 2007
24 juil. 2006 à 19:00
evidement GetArrayRating() renvoie bien du std::vector<std::string>

wis : in tartiflette I trust (like the others)
0
Rejoignez-nous