Changeset 27611 for trunk/Ohana/src/gastro2/src/plots.c
- Timestamp:
- Apr 5, 2010, 3:47:36 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/gastro2/src/plots.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/gastro2/src/plots.c
r21153 r27611 61 61 DonePlotting (&gv, 2); 62 62 fprintf (stderr, "type return to continue"); 63 fscanf (stdin, "%c", &c);63 if (fscanf (stdin, "%c", &c) != 1) fprintf (stderr, "\n"); 64 64 free (xv); 65 65 free (yv); … … 117 117 DonePlotting (&graphdata, Xg[version]); 118 118 fprintf (stderr, "type return to continue"); 119 fscanf (stdin, "%c", &c);119 if (fscanf (stdin, "%c", &c) != 1) fprintf (stderr, "\n"); 120 120 } 121 121 … … 161 161 DonePlotting (&graphdata, 0); 162 162 fprintf (stderr, "type return to continue"); 163 fscanf (stdin, "%c", &c);163 if (fscanf (stdin, "%c", &c) != 1) fprintf (stderr, "\n"); 164 164 } 165 165 … … 245 245 DonePlotting (&gf, 1); 246 246 fprintf (stderr, "type return to continue"); 247 fscanf (stdin, "%c", &c);247 if (fscanf (stdin, "%c", &c) != 1) fprintf (stderr, "\n"); 248 248 } 249 249 … … 261 261 PlotVector (n, y, 1, 1); 262 262 fprintf (stderr, "type return to continue"); 263 fscanf (stdin, "%c", &c);263 if (fscanf (stdin, "%c", &c) != 1) fprintf (stderr, "\n"); 264 264 } 265 265 … … 336 336 DonePlotting (&graphdata, 0); 337 337 fprintf (stderr, "type return to continue"); 338 fscanf (stdin, "%c", &c);338 if (fscanf (stdin, "%c", &c) != 1) fprintf (stderr, "\n"); 339 339 340 340 }
Note:
See TracChangeset
for help on using the changeset viewer.
