实验二差一个冒泡排序
This commit is contained in:
+11
-1
@@ -1,2 +1,12 @@
|
|||||||
|
//test2.cpp
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include"LinkList.h"
|
#include"LinkList.h" //LinkList类见第一题
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
bookList books = new bookNode;
|
||||||
|
books->next = NULL;
|
||||||
|
create(books);
|
||||||
|
display(&books);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user