Changeset 9
- Timestamp:
- Jun 18, 2009, 12:59:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/processor.h
r5 r9 1 1 #include <systemc.h> 2 #include <iostream> 2 3 #include "util.h" 3 4 #include "queue.h" … … 46 47 47 48 file.open(filename, ios::in); 48 if (file. bad()) {49 cerr << "error opening file ";49 if (file.fail()) { 50 cerr << "error opening file : " << filename << endl; 50 51 exit (1); // Erreur a l'ouverture, on quitte... violemment ... 51 52 }
Note: See TracChangeset
for help on using the changeset viewer.