09 2015 档案
摘要:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the c...
阅读全文
摘要:leetcode中的一道题目:【我的解法:】#include "stdafx.h"#include #include using namespace std;class Solution {public: string convert(string s, int numRows) { ...
阅读全文
摘要:《大话设计模式》简单工厂模式的实现,用VS2010的MFC实现程序。客户端界面如下:客户端的实现如下: 1 void CFactoryDesignDemoDlg::OnBnClickedOk() 2 { 3 // TODO: 在此添加控件通知处理程序代码 4 UpdateData(t...
阅读全文