
Hello: somebody can say me that it makes this code, mainly the option : sep (: , "", boost:: keep_empty_tokens) typedef boost::tokenizer<boost::char_separator<char> > tokenizer; boost::char_separator<char> sep(":", "", boost::keep_empty_tokens); tokenizer tokens(str, sep); tokenizer::iterator tok_iter = tokens.begin(); //cout << "TOKEN " << (*tok_iter) << endl; the input is: BSIC=4-6,BCCHFREQ=784,SYSID=DCS1800,MSTXPMAXGSM=<NULL>,MSTXPMAXDCS=0,MSTXPMAXPCS=<NULL>,CELLGLID="214"-"03"-6004-1519,RACODE=137,RACOL=0,GRXLAMI=6,GMSTXPMAC=15; What's de output? Thanks -------------------------------------------------------------------------------------------- ¿Ya sabes con quién vas? ¿Héroe o Villano? Prepárate para la batalla final en http://friki.ozu.es -------------------------------------------------------------------------------------------- Correo enviado desde http://www.ozu.es
participants (1)
-
david bautista garcia