ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/io/ZConsReader.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/io/ZConsReader.cpp (file contents):
Revision 1830 by tim, Thu Dec 2 05:17:10 2004 UTC vs.
Revision 1832 by tim, Thu Dec 2 16:04:19 2004 UTC

# Line 40 | Line 40 | ZConsReader::ZConsReader(SimInfo* info)
40      
41    }
42  
43 <  istream = new ifstream(zconsFileName.c_str());
43 >  istream = new std::ifstream(zconsFileName.c_str());
44  
45    if (!istream){
46      std::cerr << "open " << filename << "error" << std::endl;
# Line 51 | Line 51 | ZConsReader::ZConsReader(const std::string& filename){
51   }
52  
53   ZConsReader::ZConsReader(const std::string& filename){
54 <  istream = new ifstream(zconsFileName.c_str());
54 >  istream = new std::ifstream(zconsFileName.c_str());
55  
56    if (!istream){
57      std::cerr << "open " << filename << "error" << std::endl;
# Line 102 | Line 102 | void ZConsReader::readHeader(){
102    
103    istream->getline(line, MAXBUFFERSIZE);
104  
105  cout << line << std::endl;
105    //skip the comment lines
106    while(line[0] == '#')
107        istream->getline(line, MAXBUFFERSIZE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines