that tok thing didn't work for me so i tried this.
I wanted to search an outfile for the "," again, and until i find that I want to be able to add up the number of characters and store them in memory. Once the "," is found i want it to output the characters that are stored in memory and the "," . What's wrong with this that I wrote...
p.s. how do I declare characters so it knows it's an array...thanx
while(out3)
{
out3.get(punc);
while(punc != ','){
count +=1;
for(int i = 0; i <=count; i++)
if (punc = ',')
finaldoc << characters;}
}
I wanted to search an outfile for the "," again, and until i find that I want to be able to add up the number of characters and store them in memory. Once the "," is found i want it to output the characters that are stored in memory and the "," . What's wrong with this that I wrote...
p.s. how do I declare characters so it knows it's an array...thanx
while(out3)
{
out3.get(punc);
while(punc != ','){
count +=1;
for(int i = 0; i <=count; i++)
if (punc = ',')
finaldoc << characters;}
}