hrm i changed the name of hte function to searchLL and i got a different error..
Code:
/*mate.h*/
public:
void searchLL(M::Type ty);
private:
class Node {
public :
M::Type t;
};
int count;
};
/* mate.cpp */
void mate::searchLL(M::Type ty) {
}
/*sexy.cpp*/
#include "mate.h"
void sexy::setOutput(M::Type ty, bool status) {
if(status)
{
searchLL(ty);
}
else
{
}
}
getting the error
Code:
mate.cpp: In member function `void mate::setOutput(M::Type,
bool)':
mate.cpp:20: error: `searchLL' undeclared (first use this function)
mate.cpp:20: error: (Each undeclared identifier is reported only once for
each function it appears in.)