Fork me on GitHub

Changeset 578 in svn


Ignore:
Timestamp:
Jan 27, 2012, 10:06:27 AM (13 years ago)
Author:
cp3-support
Message:

fixed small bug at line 90: now checks if file is good before reading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Examples/Analysis_Ex.cpp

    r443 r578  
    9090  while(1)
    9191  {
     92    if(!infile.good()) break;
    9293    infile >> buffer;
    93     if(!infile.good()) break;
    9494    chainGen.Add(buffer.c_str());
    9595    chainRec.Add(buffer.c_str());
Note: See TracChangeset for help on using the changeset viewer.