error: expected ';', ',' or ') before numeric constant : <p>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:</p>

<pre><code>class functions{
public:
int m[5];
int c=0;
stack_x mem(5);
</code></pre>
