Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILE *zapisywanie;
- zapisywanie = fopen("a.txt", "w"); //otwieranie pliku do zapisu
- for (int i=1; i<=maxn; i++)
- {
- for (int j=1; j<=maxm; j++)
- {
- if (G[i][j] == 1)
- {
- if (
- fprintf(zapisywanie, "%d %d \n", i,j);
- }
- }
- }
- fclose(zapisywanie);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement