#ifndef NEW1_H #define NEW1_H #include #include #include /* this class is one of the extracted class by our method Author: Mehmet KAYA */ using namespace std; class New1 { private: int stk[100]; int top; public: New1() { top=0; } void fun1_1() { cout<<"Index out of range!\n"; cout<<"The Array has "< 0) { top--; int temp_int=stk[top]; return temp_int; } else { fun1_1(); return -1; } } int fun1_5() { return top; } }; #endif