8
9787302257646 Data-Structure 35.00
9787302164340 Operating-System 50.00
9787302219972 Software-Engineer 32.00
9787302203513 Database-Principles 36.00
9787810827430 Discrete-Mathematics 36.00
9787302257800 Data-Structure 62.00
9787811234923 Compiler-Principles 62.00
9787822234110 The-C-Programming-Language 38.00
2
Java-Programming-Language
Data-Structure
#include<iostream>
#include<string>
#include<iomanip>
using namespace std;
#define OK 1
#define error 0;
#define MAXSIZE 500
typedef struct
{
string IBSN;
string NAME;
float PRICE;
}Book;
typedef struct
{
Book* elem;//Book类型的指针
int length;//顺序表的表长
}List;
int InitList_L(List& L);
int InsertList_L(List& L);
int Re_PrintList_L(List L);
int LocateElem(List L);
int main()
{
List L;
InitList_L(L);
InsertList_L(L);
/*Re_PrintList_L(L);*/
LocateElem(L);
return 0;
}
//初始化链表
int InitList_L(List& L)
{
L.elem = new Book[MAXSIZE];