Changeset 0fe2ca for util/average.cpp
- Timestamp:
- May 30, 2008, 2:25:02 PM (17 years ago)
- Children:
- 807e8a
- Parents:
- f7d12e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
util/average.cpp
rf7d12e r0fe2ca 17 17 int flag; 18 18 string zeile; 19 stringstream line; 19 20 20 21 if (argc < 4) { 21 22 cout << "Usage: " << argv[0] << " <firstCol> <lastCol> <X> <File>\n"; 22 23 return(1); 23 } 24 firstcol = atoi(argv[1]); 25 lastcol = atoi(argv[2]); 26 ecut = atof(argv[3]); 24 } 25 line.str(argv[1]); 26 line >> firstcol; 27 line.clear(); 28 line.str(argv[2]); 29 line >> lastcol; 30 line.clear(); 31 line.str(argv[3]); 32 line >> ecut; 33 cout << "Going from " << firstcol << " to " << lastcol << " with Ecut of " << ecut << "." << endl; 27 34 28 35 // get average
Note:
See TracChangeset
for help on using the changeset viewer.