mccoyst / min-game

Automatically exported from code.google.com/p/min-game
MIT License
2 stars 1 forks source link

Ditch some C cruft #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
At least char* should be forsaken in favor of std::string. I am also going to 
be a hypocrite and propose that we use iostreams, because FILE*s can't be 
overridden for unit tests. It'd be easy enough to make printf/scanf for them, 
and with variadic templates the format string language could be simpler than 
C's.

Original issue reported on code.google.com by Mcco...@gmail.com on 30 May 2012 at 2:39

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 454b32282905.

Original comment by Mcco...@gmail.com on 31 May 2012 at 2:21