So I'm working on a basic C++ payroll program, but I'm having trouble getting the getline() function to work properly. It's supposed to read from a plain text file an employee's ID number, name, ...
Obviously if it compiles there's nothing wrong with the syntax. Now if it hangs, I'm going to guess there's a problem with the "var" buffer. It's probably not as large as you say it is (via size).
Some results have been hidden because they may be inaccessible to you
Show inaccessible results