Discussion:
Q: Create a C++ program that counts the number of non-space characters per line in the specified file. Program should accomplish this via a function that receives a string read from text file and returns the count of the non-space characters in the string to the main function. Again, this has to be done without using the cstring library functions.