Guest User

Untitled

a guest
Jan 21st, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1.     FILE *file;
  2.     vector <char*> ray;
  3.     char *str;
  4.    
  5.  
  6.     file = fopen("123.txt", "r" );
  7.  
  8.     if (file!=0)
  9.     {
  10.         while (feof(file)==0)
  11.         {
  12.             str=fgets(str,50,file);
  13.    
  14.                 ray.push_back(str);
  15.  
  16.            
  17.        
  18.  
  19.         }
  20.        
  21.  
  22.     }
Add Comment
Please, Sign In to add comment