Pay attention to unformatted nature of getline—Marco Arena

Save to:
Instapaper Pocket Readability

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.

Comments (0)

There are currently no comments on this entry.