Someone
public text v1 · immutable#include "fileio.h"
#include <fstream>
#include <iomanip>
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();
}