Changeset 4647
- Timestamp:
- 02/25/10 14:52:26 (3 years ago)
- Files:
-
- 1 modified
-
vic/branches/cc/cc/tools/asv.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vic/branches/cc/cc/tools/asv.cc
r4598 r4647 46 46 47 47 if (argc < 2) { 48 cout << "Usage: " << endl;48 cout << "Usage: ./asv <desired output filename> <input file>" << endl; 49 49 exit (0); 50 50 } 51 51 52 ifstream fin (argv[1]); 52 ifstream fin (argv[1]); 53 string option = argv[2]; 53 54 ofstream fout; 54 55 … … 61 62 // preparing for the output file 62 63 stringstream ss; 63 ss << "seqno"<< ".xg";64 ss << option << ".xg"; 64 65 fout.open(ss.str().c_str()); 65 66
