Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void to_array(FILE* file, int bufsize){
- char arr[bufsize][100];
- fseek(file, 0, SEEK_SET);
- int i = 0;
- while(!feof(file)){
- fscanf(file, "%s", arr[i]);
- i++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement