All pastes #636399 Raw Edit

Someone

public text v1 · immutable
#636399 ·published 2007-07-27 21:25 UTC
rendered paste body
#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();
}