By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,144 Members | 1,286 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,144 IT Pros & Developers. It's quick & easy.

string tokenizer.

P: n/a
This must be a classical topic -- C++ stgring tokenizer.
I just switched from C to C++ ( in Unix ). It turns out that there is no
existing C++ string tokenizer. Searching on the Web, I found several and
tried one or two of them. Not very satisfied.
Any suggestions? Thx!
Jul 22 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"Java Guy" <ja********@comcast.net> wrote...
This must be a classical topic -- C++ stgring tokenizer.
I just switched from C to C++ ( in Unix ). It turns out that there is no
existing C++ string tokenizer. Searching on the Web, I found several and
tried one or two of them. Not very satisfied.
Any suggestions? Thx!


Found some. Not satisfied. Suggestions? Find more and see if
you like any. Or roll out your own. Somehow I have a sneaky
suspicion that I'm not saying anything new here...
Jul 22 '05 #2

P: n/a

"Java Guy" <ja********@comcast.net> wrote in message
news:ie********************@comcast.com...
This must be a classical topic -- C++ stgring tokenizer.
I just switched from C to C++ ( in Unix ). It turns out that there is no
existing C++ string tokenizer. Searching on the Web, I found several and
tried one or two of them. Not very satisfied.
Any suggestions? Thx!


http://www.boost.org/libs/tokenizer/index.html, or is that one you've tried
already?

john
Jul 22 '05 #3

P: n/a
On Wed, 16 Jun 2004 23:22:42 -0400 in comp.lang.c++, "Java Guy" <ja********@comcast.net> wrote,
existing C++ string tokenizer. Searching on the Web, I found several and
tried one or two of them. Not very satisfied.


In what way did they fail to satisfy you?
http://groups.google.com/gr*********....earthlink.net

Jul 22 '05 #4

P: n/a

"Java Guy" <ja********@comcast.net> schrieb im Newsbeitrag
news:ie********************@comcast.com...
This must be a classical topic -- C++ stgring tokenizer.
I just switched from C to C++ ( in Unix ). It turns out that there is no
existing C++ string tokenizer.
This is simply not true - I've got one right in front of me, but it's my own
implementation. What actually is true is that there is none supplied by the
standard C++ implementation.
Searching on the Web, I found several and
tried one or two of them. Not very satisfied.
Any suggestions? Thx!


Yes, tell us what bothered you with them and - even better - fix them to
suit your needs or kick off your own.

Cheers
Chris

BTW.: You do know that you can use the C standard-lib functions, so it is
possible to use strtok() although there are some issues with it that should
be considered with care.
Jul 22 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.