Is there any difference between inFile and getline in C++? If so can someone tell me about the difference between the two which would help me use it in proper places?
Printable View
Is there any difference between inFile and getline in C++? If so can someone tell me about the difference between the two which would help me use it in proper places?
I think one of the difference could be inFile gets stopped on encountering a blank character in other words white space. But I think this is not so for getline. If I am wrong some one correct me on this.