prog.cpp:5:26: error: variable or field ‘OutputMatrix’ declared void
inline void OutputMatrix(vector< vector<double> > matrix, int nx, int ny)
^~~~~~
prog.cpp:5:26: error: ‘vector’ was not declared in this scope
prog.cpp:5:26: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
prog.cpp:2:1:
+#include <vector>
using namespace std;
prog.cpp:5:26:
inline void OutputMatrix(vector< vector<double> > matrix, int nx, int ny)
^~~~~~
prog.cpp:5:34: error: ‘vector’ was not declared in this scope
inline void OutputMatrix(vector< vector<double> > matrix, int nx, int ny)
^~~~~~
prog.cpp:5:34: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
prog.cpp:5:41: error: expected primary-expression before ‘double’
inline void OutputMatrix(vector< vector<double> > matrix, int nx, int ny)
^~~~~~
prog.cpp:5:59: error: expected primary-expression before ‘int’
inline void OutputMatrix(vector< vector<double> > matrix, int nx, int ny)
^~~
prog.cpp:5:67: error: expected primary-expression before ‘int’
inline void OutputMatrix(vector< vector<double> > matrix, int nx, int ny)
^~~
prog.cpp: In function ‘int main()’:
prog.cpp:20:5: error: ‘vector’ was not declared in this scope
vector<vector<double>> A={
^~~~~~
prog.cpp:20:5: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
prog.cpp:20:19: error: expected primary-expression before ‘double’
vector<vector<double>> A={
^~~~~~
prog.cpp:29:16: error: ‘A’ was not declared in this scope
double akk = A[k][k];
^
prog.cpp:37:3: error: ‘OutputMatrix’ was not declared in this scope
OutputMatrix(A, n, n+1);
^~~~~~~~~~~~
prog.cpp:44:2: error: ‘A’ was not declared in this scope
A[n-1][n] = A[n-1][n]/A[n-1][n-1];
^
prog.cpp:53:3: error: ‘OutputMatrix’ was not declared in this scope
OutputMatrix(A, n, n+1);
^~~~~~~~~~~~