摘要:
//14 使用链表#include <iostream>#include <string>using namespace std;//定义一个结构体class book{public: int num; float price; book *next;};//定义一个全局的头指针book *head=NULL;//定认一个判断用户是否是输入的数字字符bool check(string str){ for(int i=0; i<str.length(); i++) { if((str[i] >= '0' && str[i] &l 阅读全文
posted @ 2012-07-12 00:34
简单--生活
阅读(205)
评论(0)
推荐(0)

浙公网安备 33010602011771号