Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- #define MAX 102
- #define VEGTELEN 9999
- using namespace std;
- int n, m;
- int iMatrix[MAX][MAX];
- ifstream fin("file.in");
- //ofstream fout("file.out");
- void beolvas() {
- fin >> n >> m;
- for (int i = 1; i <= n; ++i) {
- for (int j = 1; j <= m; ++j) {
- fin >> iMatrix[i][j];
- }
- }
- }
- int main() {
- beolvas();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement