#include <fstream>
#include <iostream>
Go to the source code of this file.
Defines | |
#define | PI 3.1415926535897932385 |
#define | INFINITY 1.0e40 |
#define | sqr(x) ((x)*(x)) |
#define | min(x, y) ((x<y) ? x : y) |
#define | max(x, y) ((x>y) ? x : y) |
#define | READ_OPTIONAL_PARAMETER(F) |
#define | READ_PARAMETER_OR_DEFAULT(F, D) |
#define | READ_PARAMETER_OR_ERROR(F) |
#define | forall(x, S) for (x = S.begin(); x != S.end(); x++)\ |
|
|
|
|
|
|
|
|
|
|
|
Value: _msl_fin.clear();\ _msl_fin.open((FilePath+""#F"").c_str());\ if (_msl_fin) {_msl_fin >> F;}\ _msl_fin.close();\ |
|
Value: _msl_fin.clear();\ _msl_fin.open((FilePath+""#F"").c_str());\ if (_msl_fin) {_msl_fin >> F;}\ else F = D;\ _msl_fin.close();\ |
|
Value: _msl_fin.clear();\ _msl_fin.open((FilePath+""#F"").c_str());\ if (_msl_fin) {_msl_fin >> F; _msl_fin.close();}\ else {cerr << "Error reading "#F"\n"; exit(-1);}\ _msl_fin.close();\ |
|
|