** Date Started: June 2000
**
** This is part of the CTSim program
-** Copyright (C) 1983-2000 Kevin Rosenberg
+** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: array2dfile.cpp,v 1.27 2001/01/02 16:02:13 kevin Exp $
+** $Id$
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
typedef long off_t;
#endif
+#include <sstream>
const kuint16 Array2dFile::m_signature = ('I'*256+'F');
{
m_filename = filename;
-#ifdef MSVC
frnetorderstream fs (m_filename.c_str(), std::ios::out | std::ios::in | std::ios::binary);
-#else
- frnetorderstream fs (m_filename.c_str(), std::ios::out | std::ios::in | std::ios::binary | std::ios::nocreate);
-#endif
+
if (fs.fail()) {
sys_error (ERR_WARNING, "Unable to open file %s [fileRead]", m_filename.c_str());
return false;