摘要: 作者:吴秦出处:http://www.cnblogs.com/skynet/本文基于署名 2.5 中国大陆许可协议发布,欢迎转载,演绎或用于商业目的,但是必须保留本文的署名吴秦(包含链接).C++静态库与动态库这次分享的宗旨是——让大家学会创建与使用静态库、动态库,知道静态库与动态库的区别,知道使用... 阅读全文
posted @ 2015-04-29 23:12 A_zhu 阅读(816) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/DylanWind/archive/2009/01/12/1373919.html前部分原创,转载请注明出处,谢谢!classBase{public:intm_base;};classDerivedA:publicBase{public:intm_der... 阅读全文
posted @ 2015-04-20 23:58 A_zhu 阅读(9499) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/qlee/archive/2011/07/04/2097055.html成员函数的重载、覆盖与隐藏成员函数的重载、覆盖(override)与隐藏很容易混淆,C++程序员必须要搞清楚概念,否则错误将防不胜防。8.2.1 重载与覆盖成员函数被重载的特征:(1... 阅读全文
posted @ 2015-04-20 23:25 A_zhu 阅读(316) 评论(0) 推荐(0) 编辑
摘要: http://chenqx.github.io/2014/09/25/Cpp-Memory-Management/ 内存管理是C++最令人切齿痛恨的问题,也是C++最有争议的问题,C++高手从中获得了更好的性能,更大的自由,C++菜鸟的收获则是一遍一遍的检查代码和对C++的痛恨,但内存管理在C++... 阅读全文
posted @ 2015-04-18 03:04 A_zhu 阅读(17838) 评论(0) 推荐(2) 编辑
摘要: Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest... 阅读全文
posted @ 2015-04-11 00:22 A_zhu 阅读(662) 评论(0) 推荐(0) 编辑
摘要: Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of characters (including the e... 阅读全文
posted @ 2015-04-07 04:04 A_zhu 阅读(2735) 评论(1) 推荐(0) 编辑
摘要: Implement pow(x,n).Hide TagsMathBinary Search 题目很简单的。class Solution {public: double pow(double x, int n) { if(n==0) return 1; bool... 阅读全文
posted @ 2015-04-05 23:18 A_zhu 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num... 阅读全文
posted @ 2015-04-04 02:17 A_zhu 阅读(276) 评论(0) 推荐(0) 编辑
摘要: Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is repeating,... 阅读全文
posted @ 2015-03-31 21:13 A_zhu 阅读(203) 评论(0) 推荐(0) 编辑
摘要: The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of the permutations in order,We get the following sequence (ie... 阅读全文
posted @ 2015-03-28 04:09 A_zhu 阅读(263) 评论(0) 推荐(0) 编辑