Hi guys! I just finished the video for WSQ09, the link and the code are bellow. A brief explanation: this WSQ is about Multipart data and Files. This program opens a text file and tells you the number of characters and files in it. Enjoy and thanks in advance for watching.
And the code:
using namespace std;
int chars, lines;
charlines countCharLines(charlines & num)
num.chars += line.size();
cout<<“File chars: “<<number.chars<<endl;
cout<<“File lines: “<<number.lines<<endl;