摘要:
long atol(char* str){ long result = 0; char tag; if (*str == '-') { tag = *str++; } while(*str >= '0' || *str <= '9') { result = 10 * result + (*str... 阅读全文
摘要:
#include #include #define N 500typedef struct node{ int data[N]; int front; int rear;}Queue;void initQueue(Queue*& q) //初始队列{ q= (Queue*)malloc(sizeof... 阅读全文
摘要:
#include #include #include #include #define N 52 int hcard[4][14]; //四个玩家的牌void initCard(int* card) //初始化一副顺序牌{ int i = 0; for(;i=0&&temp>ccard[j])... 阅读全文