#include "fileio.h" #include #include int fileio::getCharLevel() { int theSavedLevel; inLevel >> theSavedLevel; return theSavedLevel; } void writeCharLevel(int charsCurLevel) { outLevel << charsCurLevel; } void openFileStream() { ifstream inLevel; ofstream outLevel; inLevel.open("charL.dlt"); outLevel.open("charL.dlt"); } void closeFileStream() { inLevel.close(); outLevel.close(); }