mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-12-01 08:45:21 +08:00
formatting source-code for 153fb7b8a5
This commit is contained in:
@@ -4,16 +4,14 @@
|
||||
|
||||
/* Definition of the node */
|
||||
template <class Type>
|
||||
struct node
|
||||
{
|
||||
struct node {
|
||||
Type data;
|
||||
node<Type> *next;
|
||||
};
|
||||
|
||||
/* Definition of the stack class */
|
||||
template <class Type>
|
||||
class stack
|
||||
{
|
||||
class stack {
|
||||
public:
|
||||
void display(); /* Show stack */
|
||||
stack(); /* Default constructor*/
|
||||
|
||||
Reference in New Issue
Block a user