Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. int X, k1, k2, k3, k4, k5;
  2. clock_t start, stop;
  3. srand(time(NULL));
  4. FILE *file=fopen("inlab02.txt", "rw");
  5. if (!file.good()) {
  6. printf("Can't open the file\n");
  7. exit(1);
  8. }
  9. file >> X; file >> k1; file >> k2; file >> k3; file >> k4; file >> k5;
  10. start = clock();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement