home *** CD-ROM | disk | FTP | other *** search
- /***************************************************/
- /* matrixio.hpp header for MatClass I/O functions */
- /***************************************************/
-
-
- /**************************************************/
- /* MatClass Source File */
- /* Copyright of C. R. Birchenhall */
- /* University of Manchester, UK. */
- /* MatClass is freeware. This file should be */
- /* made freely available to users of any software */
- /* whose creation is wholly or partly dependent */
- /* on this file. */
- /**************************************************/
-
- #ifndef MATRIX_H
- #include "matrix.hpp"
- #endif // ndef MATRIX_H
-
- #define NOSTREAMS 4
-
- #ifndef IOSTREAM
-
- #ifdef __TURBOC__
- #define IOSTREAM
- #endif
-
- #endif
-
- #ifdef IOSTREAM
- #include <iostream.h>
- #include <fstream.h>
- #include <iomanip.h>
-
- extern ofstream* ofile[ NOSTREAMS ] ;
- extern ifstream* ifile[ NOSTREAMS ] ;
-
- #else
-
- #include <stream.h>
-
- extern filebuf* ofbuf[ NOSTREAMS ] ;
- extern ostream* ofile[ NOSTREAMS ] ;
- extern filebuf* ifbuf[ NOSTREAMS ] ;
- extern istream* ifile[ NOSTREAMS ] ;
-
-
- #endif
-
- #ifndef MATRIXIO_H
-
- #define MATRIXIO_H
-
-
- extern ostream & operator << ( ostream &s, matrix &x ) ;
-
- /**************************************************/
- /* iomatrix.hpp header for iomatrix.cpp */
- /**************************************************/
-
- // File Error Values
-
- #define FTYPE 0
- #define FOPEN 1
- #define NFILE 2
- #define FFAIL 3
-
- #endif
-
-
-
-
-
-
-