This isn\'t a design question, really, though it may seem like it. (Well, okay, it\'s kind of a design question). What I\'m wondering is why the C++ std::fstream
std::fstream
Nowadays you can solve this problem very easily: add -std=c++11 to your CFLAGS.
-std=c++11
CFLAGS