摘要:
/*--------------------------------------------------------- Title: Sequence Stack(顺序栈) 顺序栈-顺序存储结构的栈 请先阅读教材67页, 2.3.2,2.3.3节, 栈的定义及基本运算 (注意以下程序为简化后的,仅供入门学习之用) --------------------------------------... 阅读全文
posted @ 2007-09-12 13:14
emanlee
阅读(641)
评论(0)
推荐(0)
摘要:
//结构体与指针 #include #include struct student { int number; char name[10]; }; void main() { struct student a; struct student *ptr=&a; a.number=10;//ptr->number=10; strcpy(a.name,"li");//strcpy(ptr->na... 阅读全文
posted @ 2007-09-12 13:13
emanlee
阅读(253)
评论(0)
推荐(0)

浙公网安备 33010602011771号