Skip to content

Commit

Permalink
fixes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
rattle99 committed Oct 2, 2018
1 parent a13be31 commit 23472cf
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <iostream>
#include <stdlib.h>
#include <conio.h>


using namespace std;
void stck();
Expand Down Expand Up @@ -47,7 +47,7 @@ void stck_ins_arr()
st[top] = data;
}
cout << "\nElement inserted succesfully\n";
getch();
getchar();
stck();
}

Expand All @@ -63,7 +63,7 @@ void stck_del_arr()
top--;
cout << "\nElement deleted succesfully\n";
}
getch();
getchar();
stck();
}
void stck_print()
Expand All @@ -88,7 +88,7 @@ void stck_print()
<< "\n";
}
}
getch();
getchar();
stck();
}
void stck()
Expand Down Expand Up @@ -136,7 +136,7 @@ void que_ins_arr()

cout << "\nElement inserted succesfully\n";

getch();
getchar();
que();
}
void que_del_arr()
Expand All @@ -153,7 +153,7 @@ void que_del_arr()
cout << "\nElement deleted succesfully\n";
}

getch();
getchar();
que();
}
void que_print()
Expand All @@ -166,7 +166,7 @@ void que_print()
cout << q[i] << " | ";
}

getch();
getchar();
que();
}
void que()
Expand Down Expand Up @@ -214,7 +214,7 @@ void stck_ins_list()
head = temp;
}
cout << "\nElement insereted successfully\n";
getch();
getchar();
stck_list();
}
void stck_del_list()
Expand All @@ -232,7 +232,7 @@ void stck_del_list()
free(temp);
}
cout << "\nElement deleted succesfully!!\n";
getch();
getchar();
stck_list();
}
void stck_print_list()
Expand All @@ -258,7 +258,7 @@ void stck_print_list()
temp = temp->next;
}
}
getch();
getchar();
stck_list();
}

Expand Down Expand Up @@ -307,7 +307,7 @@ void que_ins_list()
head = temp;
}
cout << "\nElement inserted succesfully\n";
getch();
getchar();
que_list();
}
void que_del_list()
Expand Down Expand Up @@ -339,7 +339,7 @@ void que_del_list()
temp1->next = NULL;
}
cout << "\nElement deleted succesfully!!\n";
getch();
getchar();
que_list();
}
void que_print_list()
Expand All @@ -362,7 +362,7 @@ void que_print_list()
temp = temp->next;
}
}
getch();
getchar();
que_list();
}

Expand Down

0 comments on commit 23472cf

Please sign in to comment.