#include "extern.h"
#include <cctype>
#include <stdio.h>
-#include <fstream.h>
+#include <fstream>
+
+using std::endl;
+using std::cerr;
+using std::ofstream;
+using std::ios;
void log(const char *fmt, ...)
{
ts = new char[32];
output = new char[4096];
- outfile.open(logfile, ios::out | ios::app);
+ outfile.open("gameserv.log", ios::out | ios::app);
if (outfile.fail())
{
- cerr << "Error opening " << logfile << endl;
+ cerr << "Error opening gameserv.log" << endl;
return;
}