Changes between Version 6 and Version 7 of ValidationSimple
- Timestamp:
- May 29, 2008, 1:06:31 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ValidationSimple
v6 v7 49 49 int init_result(RESULT const & result, void*& data) { 50 50 FILE* f; 51 string path;51 FILE_INFO fi; 52 52 int i, n, retval; 53 53 double x; 54 54 55 retval = get_output_file_path(result, path);55 retval = get_output_file_path(result, fi); 56 56 if (retval) return retval; 57 retval = try_fopen( path.c_str(), f, "r");57 retval = try_fopen(fi.path.c_str(), f, "r"); 58 58 if (retval) return retval; 59 59 n = fscanf(f, "%d %f", &i, &x);