Thread
:
read line of text from file into array
View Single Post
•
•
Join Date: May 2008
Posts: 538
Reputation:
Solved Threads: 86
Murtan
Offline
Posting Pro
Re: read line of text from file into array
0
#
10
Jan 16th, 2009
So line is a string and str is a C style string so you can use strtok on it.
Why not just use
strcpy(str, line.c_str())
?
Murtan
View Public Profile
Find all posts by Murtan