😭
This commit is contained in:
+14
-14
@@ -1,14 +1,14 @@
|
||||
//test1.cpp
|
||||
#include <iostream>
|
||||
#include "LinkList.h"
|
||||
using namespace std;
|
||||
|
||||
|
||||
int main() {
|
||||
bookList books = new bookNode;
|
||||
books->next = NULL;
|
||||
create(books);
|
||||
cout << getLength(&books) << endl;
|
||||
display(&books);
|
||||
return 0;
|
||||
}
|
||||
//test1.cpp
|
||||
#include <iostream>
|
||||
#include "LinkList.h"
|
||||
using namespace std;
|
||||
|
||||
|
||||
int main() {
|
||||
bookList books = new bookNode;
|
||||
books->next = NULL;
|
||||
create(books);
|
||||
cout << getLength(&books) << endl;
|
||||
display(&books);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user