Advertisement
Guest User

Untitled

a guest
Dec 11th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. FILE* pf = NULL;
  2.     pf = fopen( argv[ 1 ], "r" );
  3.  
  4.     //pf = fopen( "matrix.txt", "r" );
  5.     int nDim;
  6.  
  7.         if(fscanf(pf,"%d",&nDim)==1 )
  8.         printf( "nDim = %d \n", nDim );
  9.     fclose( pf );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement