Ancient Dragon5,243 Achieved Level 70 Team ColleagueFeatured Poster
win32 api has no function that reads one line at a time such as fgets() and getline() do, instead they do binary reads similar to fread() and fstream.read(). If you want to read a file in text mode then don't use win32 api functions but standard C or C++ file i/o functions.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.