
C++
learning2learn
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Max Consecutive Ones
LeetCode原题: 485. Max Consecutive Ones Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Input: [1,1,0,1,1,1] Output: 3 Explanation: The first two原创 2017-04-22 20:23:40 · 328 阅读 · 0 评论 -
终于搞定了mfc声明全局变量
1、先建立一个基于对话框的工程,命名为test 2、在自定义一个类,用于封装全局变量和全局函数,如CPublic,基类随便定义吧,我用的是CDialog 3、在Public.h中Class Public下声明静态全局变量和全局函数,如 class CPublic : public CDialog { // Construction public: CPublic(CWnd转载 2017-06-08 13:32:10 · 9462 阅读 · 0 评论