We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a2f279 commit a4b4526Copy full SHA for a4b4526
Sim.cpp
@@ -44,13 +44,14 @@ using namespace std;
44
Sim::Sim(void)
45
{
46
version=0;
47
+ inPath = "";
48
filename = "";
49
errorMsg="";
50
}
51
52
void Sim::open(string fname)
53
- this->filename = fname;
54
+ inPath = fname;
55
char *f = new char[fname.length()+1];
56
strcpy(f, fname.c_str());
57
openLowLevel(f);
Sim.h
@@ -91,6 +91,7 @@ class Sim {
91
private:
92
ostream *outfile;
93
ofstream fout;
94
+ string inPath;
95
FILE *inFile; // low-level file access for greater speed
96
map<string,long> sampleIndex;
97
void __openout(ostream &f);
0 commit comments