Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I Suck

Name: Anonymous 2012-07-22 11:49

I'm taking an intro C++ class, the only thing I have experience with is Java (only thing offered and my self-teaching has been with irrelevant things such as lisp) and have a quick question.

I'm trying to break the lines of a text file into separate strings to be input into a struct, using a colon as the token. I have no idea how to go about this in C++ though, can someone shed some light here?

I don't need nor want for someone to write my program for me, I'm just not sure how to segregate the lines into distinct strings.

Name: Anonymous 2012-07-23 11:01

>>6
can always get around with mutexes.
You'll have to lock out all the other threads for the entire duration of tokenization, it's just not feasible.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List