Posted by Matthew Pratt on 1999-05-06
--- George <lesica@xxxxxxxx.xxx> wrote: > I want to separate a string in C++. > For example: > > The string is "john?doe" > > I want to have the program put "john" into one > variable and "doe" into > another. > Look up the strtok() library call. "man strtok" if your on a *nix box. === Matty . http://members.xoom.com/mattpratt/ _--_|\ mattpratt@xxxxx.xxx / \ s3099239@xxxxxxx.xxx.xxx.xx \_.--._/<--Canberra, W2K - The other millenium bug. v Australia _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Previous post | Next post | Timeline | Home