链式栈的进制转换源代码
链式栈的进制转换源代码#definedatatypeinttypedefstructstacknode{intnum;datatypedata;structstacknode*pNext;}StackNode;StackNode*init(StackNode*phead);//初始化StackNode*push(StackNode*phead,intnum,datatypedata);//进栈StackNode*pop(StackNode*phead,StackNode*poutdata);//出栈StackNode*freeall(StackNode*phead);
用户评论