秋林箭

每夜,携酒河上,饮且渔

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年7月28日

摘要: #includeusing namespace std;bool match(char *str,char* pattern){ if(*str=='\0'&&*pattern=='\0') return true; if(*str!='\0'&&*pattern=='\0') return f... 阅读全文
posted @ 2015-07-28 09:31 zhangyee 阅读(132) 评论(0) 推荐(0) 编辑

2015年7月2日

摘要: 1 #include 2 using namespace std; 3 4 struct BinaryTreeNode 5 { 6 int valua; 7 BinaryTreeNode* left; 8 BinaryTreeNode* right; 9... 阅读全文
posted @ 2015-07-02 21:39 zhangyee 阅读(126) 评论(0) 推荐(0) 编辑

摘要: 1 void main() 2 { 3 unsigned int a = 0xFFFFFFF7; 4 unsigned char i = (unsigned char)a; 5 char* b = (char*)&a; 6 7 ... 阅读全文
posted @ 2015-07-02 21:34 zhangyee 阅读(136) 评论(0) 推荐(0) 编辑