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