- 博客(5)
- 问答 (3)
- 收藏
- 关注
原创 postfix2infix
#include <iostream>#include <stack>#include <string>#include <sstream>using namespace std;int main(){ stack<string> s; // use a stack to store the current answer string equation; // the wh
2016-03-21 10:44:35 245
原创 infix2postfix
#include <iostream>#include <stack>using namespace std;int main(){ stack<char> s; // use a stack to store the character of the equation string equation; // store the whole equation getli
2016-03-21 10:35:49 349
原创 文章标题
#include <iostream>#include <list>#include <fstream>#include <vector>#include <string>using namespace std;class Editor{ public: //后置条件:编辑器为空。 Editor(); /* 如果line为合法命令,则
2016-03-19 12:34:00 115
转载 test2
#include #include #include #include #include using namespace std;class Editor{ public: //后置条件:编辑器为空。 Editor(); /* 如果line为合法命令,则该命令被执行,执行结果被返回。若line是插入的文本行,则该文本行被插入并返回结果;否则,返回非法命令错误
2016-03-19 12:27:46 133
原创 欢迎使用CSDN-markdown编辑器
int m = 0;for (int j = 6; (line[j] >= '0' && line[j] <= '9'); j++){ m = 10 * m; m += (line[j] - '0');}
2016-03-19 12:25:49 216
空空如也
关于稀疏矩阵的问题(#include "source"是要自己写的地方)
2015-04-24
判断每个字母在string中出现的次数
2015-01-07
TA创建的收藏夹 TA关注的收藏夹
TA关注的人