Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "my.h"
- void searchsv (int arry[], FILE* myfile1, int* sv)
- {
- int y;
- if ((y = fscanf(myfile1, "%d", &sv)) > 0)
- {
- printf("The value searched was %d and it was found. \n", *sv);
- }
- else
- printf("The value searched was %d and it was not found\n", *sv);
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement