Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not FileExists(Path) then
- begin
- IsCorrect := False;
- Writeln('File not found! Enter the absolute link to the file');
- end;
- if not eof(InputFile) then
- Readln(InputFile, Line)
- ifstream file(path);
- if (!file.is_open())
- {
- cout << "Файл не найден! Введите абсолютную ссылку на файл\n";
- isIncorrect = true;
- }
- ofstream fout(path);
- for (int i = 0; i < order; i++)
- {
- fout << endl;
- for (int j = 0; j < order; j++)
- {
- fout << matrix[i][j] << " ";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement