Advertisement
Guest User

Untitled

a guest
Apr 5th, 2020
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.33 KB | None | 0 0
  1. void ExtractInputFromFile(char* type, int* N, int* a, int* b, float* con0, float* con1)
  2. {
  3.     FILE *input_file_pointer;
  4.     input_file_pointer = fopen("C:\\Users\\roybr\\OneDrive\\Desktop\\input.txt", "r");
  5.     fscanf(input_file_pointer,"%c %d %d %d %f %f", &type, &N, &a, &b, &con0, &con1);
  6.     fclose(input_file_pointer);
  7.  
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement