- 博客(12)
- 资源 (1)
- 收藏
- 关注
原创 LeetCode:valid Number
LeetCode:Valid Number 题目链接:https://oj.leetcode.com/problems/valid-number/描述:
2014-08-25 10:30:53
660
原创 LeetCode:Wildcard Matching
leetcode:Wildcard Matching 题目链接:https://oj.leetcode.com/problems/wildcard-matching/表嫂
2014-08-21 19:33:17
622
原创 Leetcode:Longest Palindromic Substring
问题:leetcode链接:https://oj.leetcode.com/problems/longest-palindromic-substring/描述:
2014-08-10 15:47:37
671
原创 诡异的未定义错误--超前引用
最近被一个看似诡异的事情卡壳,情况大概是这样,很明显的文件的开始添加了某个类的头文件,但是在代码中使用所添加的类时候却提示未定义该类。其中原因最后终于发现,原来是非常经典的错误——超前引用。 所谓超前引用,粗略的说就是两个类之间进行了交叉引用,举个最简单的例子:1234567891011121314151
2014-07-24 20:34:56
854
1
原创 LeetCode:3Sum
/* Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: •Elements in a triplet (a
2014-07-24 20:26:35
522
原创 Leetcode :Sort List
/*author:JTR@BNU思路:使用归并排序的思想,使用逐步增加步长的方法将整个链表的排序逐步从最简单的长度为1的两个链表归并,直到最终长度达到链表长度*//*Sort a linked list in O(n log n) time using constant space complexity.* Definition for singly-linked list
2014-07-24 10:27:49
501
原创 VS 2012环境下使用MFC进行OpenGL编程
VS 2012下使用MFC+OpenGL基本步骤引子:以前一直惧怕MFC感觉它是一个非常复杂的东西,更不用说去用它来和OpenGL结合了,以前是一直羡慕别人用MFC创建一个窗口进行OpenGL绘图,当初有萌生自己创建一个MFC使用OpenGL的想法,但是由于各种原因一直没成功,最近我又研究了一下,有了一下这些拙见。之前研究一些东西时候,当初明白了,后来再去用就又要重新学习,一直觉得自己差一个做
2014-04-22 21:11:59
11368
4
VS2012+MFC+OpenGL
2014-04-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人