Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2933 connectés 

  FORUM HardWare.fr
  Programmation
  C++

  istringstream et std::find

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

istringstream et std::find

n°1884707
frenchtouc​co
Posté le 14-05-2009 à 18:56:27  profilanswer
 

Hi,
 
Quel est le type retourné par find dans l'exmple suivant , string? char? ?
 
istringstream s; //contient un fichier
s::iterator res = std::find(s.begin(),s.end(),string("NOK" ));
 
Merci


---------------
je connais tout, je ne sais rien, seule certitude, à vouloir trop on finit par tout perdre.
mood
Publicité
Posté le 14-05-2009 à 18:56:27  profilanswer
 

n°1884709
Elmoricq
Modérateur
Posté le 14-05-2009 à 19:13:48  profilanswer
 

istringstream::iterator

 

http://cplusplus.com/reference/algorithm/find


Message édité par Elmoricq le 14-05-2009 à 19:15:03
n°1884717
Glock 17Pr​o
Posté le 14-05-2009 à 20:13:33  profilanswer
 

et un istringstream::iterator it; *it est de quel type ? char std::string?


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  C++

  istringstream et std::find

 

Sujets relatifs
Prototype : équivalent de jQuery.find() avec prototype ?Eclipse Cannot find the tag library
Libxml++ : find and dynamic_castfind date avec vba
MS-DOS : Boucle For, IF et Find imbriqués, probleme d'affectationBatch find
[Ant] faire un équivalent de find / sed avec Ant[VBA / sendkeys / ie / find] sendkeys VBA pour internet explorer
probleme table de hachage dans requete findboucle if après find
Plus de sujets relatifs à : istringstream et std::find


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)