摘要:
stack的应用#include#include#include#include#include#define MAX 128using namespace std;stack back_stack;stack forward_stack;int main() { char raw[MAX]; char * now; char * s; now = (char *)malloc(sizeof(char) * 128); strcpy(now, "http://www.acm.org/"); while(1) { cin >> raw; ... 阅读全文