Alx09

Untitled

May 12th, 2020
1,163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3.  
  4. int main()
  5. {
  6.     int v[100003], n = 0;
  7.     char c = ' ';
  8.     FILE *f;
  9.     f = fopen("in.txt", "r");
  10.     while (c == ' ') {
  11.         fscanf(f, "%d%c", &v[n], &c);
  12.         n++;
  13.     }
  14.    
  15.    
  16. }
Advertisement
Add Comment
Please, Sign In to add comment