C/C++
文章平均质量分 67
MichaelWo
这个作者很懒,什么都没留下…
展开
-
C++两个不同类成员之间的调用
/*a.h#include using namespace std; class b; class a { public: b *ib; void putA() { cout<<"This is A Class"<<endl; } };原创 2014-07-19 16:54:11 · 2046 阅读 · 0 评论 -
LeetCode::Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: ["2", "1",原创 2014-05-29 23:26:57 · 530 阅读 · 0 评论 -
LeetCode::Max Points on a Line
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.原创 2014-06-11 21:01:38 · 419 阅读 · 0 评论