Created
April 20, 2017 01:28
-
-
Save astamatto/31d8b0bd787bdc8734b9d620df662c65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char linha[255]; | |
int matriz[i][j]; | |
for(int i = 0; i < nLinhas; ++i) { | |
fgets(linha, sizeof(linha), arquivo); | |
for(int j = 0; j < nColunas; ++j) { | |
sscanf(linha, " %d", &matriz[i][j]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment