I am making a stack class, and trying to make an object of it and using it in another class. However, it mentions that there is an error. here's my code of intializing the stack object in the class:
class functions{
public:
int m[5];
int c=0;
stack_x mem(5);