Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int X, k1, k2, k3, k4, k5;
- clock_t start, stop;
- srand(time(NULL));
- FILE *file=fopen("inlab02.txt", "rw");
- if (!file.good()) {
- printf("Can't open the file\n");
- exit(1);
- }
- file >> X; file >> k1; file >> k2; file >> k3; file >> k4; file >> k5;
- start = clock();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement