Didn't work....i think i tried that already
I've also tried
while (p!=NULL)
{
unsigned int pos = str.find("//", 0);
if(pos != string::npos)
break;
else
vec.push_back(p);
p=strtok(NULL," ");
}
but that doesn't output anything so i guess it's found the // and broke out of the loop
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Offline 64 posts
since Dec 2008