obj/Debug/damwst.o||In function `Damwst::Initi(int)':|
/damwst.cpp|58|undefined reference to `Damwst::MsgQueue(int)'|
/damwst.cpp|59|undefined reference to `Damwst::SN(int, int)'|
/damwst.cpp|60|undefined reference to `Damwst::SE(int, int, int)'|
/damwst.cpp|61|undefined reference to `Damwst::FI(int)'|
The error is saying that the linker could not find the actual function definition for those functions.
I can't see them either - where are they written?
MsgQueue( n );
SN( n, 1 );
SE( n, n, 1 );
FI( n );
They are actually (Vectors and Containers):
vector < deque < int > > MsgQueue( int );
vector < int > SN( int, int );
matrix < int > SE( int, int, int);
vector < int > FI( int );
But compiler sees them as funtions. Could you tell me the correct way to define vectors??!!