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 b340fb9d2fdcce657e30db9b37b3b0f1eca12ce9
parent 42947af014760354b6dedc54f918e3a34c91d577
Author: Agastya Chandrakant <acagastya@outlook.com>
Date:   Fri, 27 Oct 2017 00:59:08 +0530

and who the hel uses this?
Diffstat:
Ms3/oops/stack.cpp | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/s3/oops/stack.cpp b/s3/oops/stack.cpp @@ -1,5 +1,5 @@ #include <iostream> -using namespace std; + class node{ int data; node* next; @@ -76,8 +76,9 @@ public: int main() { stack s; int choice, input; + std::cout << "1. Push 2. Pop 3. Display 4. Quit\n"; do{ - std::cout << "1. Push 2. Pop 3. Display 4. Quit\nYour choice> "; + std::cout << "Your choice> " << '\n'; std::cin >> choice; switch (choice) { case 1: