/in/exam3_matrix.cpp: In function 'int main()':
/in/exam3_matrix.cpp:11:16: error: expected ';' before '{' token
intMatrix(){
^
/in/exam3_matrix.cpp:15:5: error: no match for 'operator~' (operand type is 'intMatrix')
~intMatrix(){
^~~~~~~~~~~~
In file included from /usr/include/c++/7/ios:42:0,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/exam3_matrix.cpp:6:
/usr/include/c++/7/bits/ios_base.h:95:3: note: candidate: constexpr std::_Ios_Fmtflags std::operator~(std::_Ios_Fmtflags)
operator~(_Ios_Fmtflags __a)
^~~~~~~~
/usr/include/c++/7/bits/ios_base.h:95:3: note: no known conversion for argument 1 from 'intMatrix' to 'std::_Ios_Fmtflags'
/usr/include/c++/7/bits/ios_base.h:137:3: note: candidate: constexpr std::_Ios_Openmode std::operator~(std::_Ios_Openmode)
operator~(_Ios_Openmode __a)
^~~~~~~~
/usr/include/c++/7/bits/ios_base.h:137:3: note: no known conversion for argument 1 from 'intMatrix' to 'std::_Ios_Openmode'
/usr/include/c++/7/bits/ios_base.h:177:3: note: candidate: constexpr std::_Ios_Iostate std::operator~(std::_Ios_Iostate)
operator~(_Ios_Iostate __a)
^~~~~~~~
/usr/include/c++/7/bits/ios_base.h:177:3: note: no known conversion for argument 1 from 'intMatrix' to 'std::_Ios_Iostate'
/in/exam3_matrix.cpp:19:21: error: a function-definition is not allowed here before '{' token
int getRowSize(){
^
/in/exam3_matrix.cpp:22:24: error: a function-definition is not allowed here before '{' token
int getColumnSize(){
^
/in/exam3_matrix.cpp:25:44: error: a function-definition is not allowed here before '{' token
void fillFrom(std::vector<int> &source){}
^
/in/exam3_matrix.cpp:26:43: error: a function-definition is not allowed here before '{' token
int getElement(int rowNum, int colNum){}
^
/in/exam3_matrix.cpp:27:38: error: a function-definition is not allowed here before '{' token
void saveTo(std::string fileName){}
^