Is there a method that can count the number of characters per line, when I getline from a file?
Is there a method that can count the number of characters per line, when I getline from a file?
number of characters in a string is strlen()
"You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter
gcount works with ifstream objects too - which is what I was leading to. Thanks