FileHandler.cpp
/**
 * Writes a number to the binary file
 * @param file The binary file to write to
 * @param num The number to write
 */
Writes a number to the binary file
@param file The binary file to write to
@param num The number to write
Writes a number to the binary file @param file The binary file to write to @param num The number to write
void FileHandler::writeNumtoBin(std::FILE* file, int num) {
    std::fseek(file, 0, SEEK_END);
    std::fwrite(&num, sizeof(int), 1, file);
}
void FileHandler :: writeNumtoBin ( std :: FILE * file , int num ) { std :: fseek ( file , 0 , SEEK_END ) ; std :: fwrite ( & num , sizeof ( int ) , 1 , file ) ; }
Writes a number to the binary file
 @param file The binary file to write to
 @param num The number to write
Writes a number to the binary file @param file The binary file to write to @param num The number to write