AlexDorohoff / OOP

Лабораторные работы по ООП
0 stars 0 forks source link

Замечания по InvertMatrix #5

Open alexey-malov opened 6 years ago

alexey-malov commented 6 years ago
alexey-malov commented 6 years ago
    Matrix inputMatrix;
    std::ifstream inputFile;
    inputFile.open(argv[1]);
    if (!inputFile)
    {
        std::cout << "Failed to open " << argv[1] << " for reading\n";
    };

    if (!ReadMatrix(inputFile, inputMatrix))
    {
        std::cout << "Can't reed file\n";
        return 1;
    };
alexey-malov commented 6 years ago
bool InvertMatrix(Matrix& inputMatrix, Matrix& invertMatrix)
{
alexey-malov commented 6 years ago
alexey-malov commented 6 years ago
        std::cout << "Can't reed file\n";