C版数据结构航空订票系统源代码.docxVIP

  • 4
  • 0
  • 约7.7千字
  • 约 10页
  • 2019-06-11 发布于广东
  • 举报
#ifndef_FLIGHT_H_ #define _FLIGHT_H_ # includelt;fstreamgt; using namespace std; struct node { int id; char start[20]; char over[20]; float s_time; float o_time; int price; float sale; int ticket; struct node *next; }; struct people { char name[20]; char passpart[20]; int ticket; int id; int number; struct people *next; }; class fly { public: void add(); node* read(); int select(); void update(); void update_ticket(int id,int ujd); ofstream we; ifstream re; private: node * head; }; class userpublic fly public: int add(); int insert(); void dele(); int user_id; }; #endif #includequ ot;iostrea

文档评论(0)

1亿VIP精品文档

相关文档