nie-ii-year

lab stuff from undergrad second year.
git clone http://git.hanabi.in/repos/nie-ii-year.git
Log | Files | Refs | LICENSE

commit 42947af014760354b6dedc54f918e3a34c91d577
parent 5411f4b69440ffe0e10df0c5d120914044a76bd9
Author: Agastya Chandrakant <acagastya@outlook.com>
Date:   Fri, 27 Oct 2017 00:47:54 +0530

missed one
Diffstat:
Ms3/oops/stack.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/s3/oops/stack.cpp b/s3/oops/stack.cpp @@ -57,7 +57,7 @@ public: delete temp; } }; - void display(){ + void operator<<(int x){ node* temp = head; if(isNULL(temp)){ std::cout << "Stack is empty." << std::endl; @@ -89,7 +89,7 @@ int main() { -s; break; case 3: - s.display(); + s << 0; break; case 4: choice = 0;