資源簡介
c語言24點游戲源碼.zip
代碼片段和文件信息
#include?
#include?
#include??
#include??
#include?
/*字符操作函數*/
#include??
#define?BUFFSIZE?32
#define?COL?128
#define?ROW?64
/*?【自學去】網站收集?http://www.zixue7.com?*/
/*定義棧1*/
typedef?struct?node
{
????int?data;
????struct?node??*next;
}STACK1;?
/*定義棧2*/
typedef?struct?node2
{
????char?data;
????struct?node2?*next;
}STACK2;
/*下面定義兩個棧基本操作*/
/*入棧函數*/
STACK1?*PushStack(STACK1?*topint?x)
{
????STACK1?*p;??
????p=(STACK1?*)malloc(sizeof(STACK1));
????if(p==NULL)??
????{
????????printf(“ERROR\n!“);
????????exit(0);??
????}
????p->data=x;??
????p->next=top;????
????top=p;??????
????return?top;?????
}
/*出棧函數*/
STACK1?*PopStack(STACK1?*top)?
{
????STACK1?*q;?
????q=top;??
????top=top->next;?
???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-05-17?06:59??c語言24點游戲源碼\
?????文件????????8213??2015-05-17?06:55??c語言24點游戲源碼\95.c
?????文件????????3351??2015-03-31?17:51??c語言24點游戲源碼\95.dsp
?????文件?????????512??2015-03-31?17:51??c語言24點游戲源碼\95.dsw
?????文件???????16064??2015-03-31?17:51??c語言24點游戲源碼\95.EXE
?????文件???????33792??2015-03-31?17:51??c語言24點游戲源碼\95.ncb
?????文件????????2997??2015-03-31?17:51??c語言24點游戲源碼\95.OBJ
?????文件???????48640??2015-03-31?17:51??c語言24點游戲源碼\95.opt
?????文件????????1177??2015-03-31?17:51??c語言24點游戲源碼\95.plg
?????文件???????????1??2015-03-31?17:51??c語言24點游戲源碼\e
?????文件?????????121??2015-05-17?06:52??c語言24點游戲源碼\自學去論壇.url
評論
共有 條評論