A simple stream function like getline can lead to undesirable behavior:
Pay attention to unformatted nature of getline
by Marco Arena
From the article:
Some years ago that piece of code was migrated to C++ streams (since files to read were really small and simple) and a silly bug was introduced...
Add a Comment
Comments are closed.