jlechem / RetroGaming

A repository for old school retro C++ games
Apache License 2.0
2 stars 1 forks source link

Utilities - Complete file writing methods #5

Closed jlechem closed 4 years ago

jlechem commented 4 years ago

There are 3 entry points in the Utilities class that need to be completed. One for appending text and two for overwriting text. All three should return a bool for success/failure.

jlechem commented 4 years ago

I ended up converting this to two generic WriteTextToFile methods with a truncate and filename overload. This was a much cleaner solution.