Input line by line from an input file and tokenize using strtok() and the output into an output file
问题 What I am trying to do is to input a file LINE BY LINE and tokenize and output into an output file.What I have been able to do is input the first line in the file but my problem is that i am unable to input the next line to tokenize so that it could be saved as a second line in the output file,this is what i could do so far fro inputing the first line in the file. #include <iostream> #include<string> //string library #include<fstream> //I/O stream input and output library using namespace std;