fix documentations and cpplint

This commit is contained in:
Krishna Vedala
2020-06-04 23:15:43 -04:00
parent 6635c0a1af
commit aacaf9828c
6 changed files with 174 additions and 159 deletions

View File

@@ -1,5 +1,4 @@
#include <iostream>
using namespace std;
struct node {
int data;
@@ -48,11 +47,10 @@ class Queue {
node *ptr;
ptr = front;
do {
cout << ptr->data << " ";
std::cout << ptr->data << " ";
ptr = ptr->next;
} while (ptr != rear->next);
cout << front->data;
cout << endl;
std::cout << front->data << std::endl;
}
};
int main(void) {