Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void nuskaitymas( int Z[][30], int &n, int &m)
- {
- n = 0;
- m = 0;
- ifstream fd("duom.txt");
- while (!fd.eof())
- {
- fd >> Z[n][m];
- n++;
- m++;
- }
- fd.close();
- }
- void isvedimas(int Z[][30], int n, int m)
- {
- ofstream fr("rez.txt");
- for (int i=0; i<n; i++)
- {
- fr << Z[n][m] << " " << endl;
- }
- fr.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement