prog.cpp:16:35: error: redeclaration of 'stack<T>::stack(int)' may not have default arguments [-fpermissive]
stack<T>::stack(int s=DEFAULT_SIZE) {
^
prog.cpp: In constructor 'stack<T>::stack(int)':
prog.cpp:17:1: error: 'cout' was not declared in this scope
cout << "--constructor called\n";
^
prog.cpp: In function 'int main()':
prog.cpp:27:3: error: 'class stack<int>' has no member named 'push'
u.push(4);
^