摘要:#include <IOSTREAM>using namespace std;class book//定义书籍类{public: int num;//书籍编号 float price;//书籍价格 book*next;//指向书籍类的指针};book *head=NULL;//头结点指针,初始化为空/******************************* 函数声明区*******************************/book *creat_dynamic_link();void show_book(book *head);/***************...
阅读全文
摘要:#include <IOSTREAM>using namespace std;struct book //class{ int num; float price; struct book*next;//type+type_name+pointer};int main(){ book x,y,z,*head,*p; x.num=10000; x.price=14.5; y.num=15000; y.price=15.5; z.num=20000; z.price=16.5; head=&x;//define x the head node x.next=&y; y.n
阅读全文
摘要:【转】CFree 5.0最新注册码C-Free官网:http://www.programarts.com/C-Free 5.0真是一个很棒的编程软件,可今天用着用着却让我注册,下面的注册码分享给大家:用户名:tianfang电子邮件:quart@163.com 注册码:2NnUqd3shO2agta0xNjcusfK1LXO继续享用这个软件吧!
阅读全文