kevin55

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 ··· 10 下一页

2016年1月19日

摘要: Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu... 阅读全文
posted @ 2016-01-19 22:21 kernel_main 阅读(169) 评论(0) 推荐(0) 编辑

2016年1月12日

摘要: 先看下面代码:#include #include #include class Test{public: Test(int i) :a(i) { } ~Test() { }public: void Print() { pri... 阅读全文
posted @ 2016-01-12 23:32 kernel_main 阅读(604) 评论(0) 推荐(0) 编辑

2015年11月25日

摘要: More info see: https://msdn.microsoft.com/en-us/library/hh916383.aspxSimply stated, SAL is an inexpensive way to let the compiler check your code for ... 阅读全文
posted @ 2015-11-25 16:33 kernel_main 阅读(464) 评论(0) 推荐(1) 编辑

2015年11月17日

摘要: If you'd like to build the Chromium Embedded Framework (a wrapper for Chromium, for creating browser-based applications) using Visual Studio 2013, you... 阅读全文
posted @ 2015-11-17 15:55 kernel_main 阅读(1349) 评论(0) 推荐(0) 编辑

2015年11月4日

摘要: C++中调用Python脚本的意义就不讲了,至少你可以把它当成文本形式的动态链接库, 需要的时候还可以改一改,只要不改变接口, C++的程序一旦编译好了,再改就没那么方便了 先看Python的代码 代码:#test function def add(a,b): print "in python ... 阅读全文
posted @ 2015-11-04 10:22 kernel_main 阅读(2400) 评论(0) 推荐(0) 编辑

2015年10月16日

摘要: http://m.blog.csdn.net/blog/haoekin/88512191.无法显示右边箭头的问题无论怎么折腾都没显示不出来,微软给的示例又能显示,度娘和谷歌也都不知道,经过不断地探索总算找到解决办法了:在rc2文件中加上下面的内容即可#ifndef _AFXDLL#include "... 阅读全文
posted @ 2015-10-16 17:38 kernel_main 阅读(1718) 评论(0) 推荐(0) 编辑

2015年10月14日

摘要: #include "stdafx.h"void PrintFunc(int a[], int n){ for (int i = 0; i low; --j) { if (a[j]AlgoTest.exe0 8 7 6 5 4 3 2 1 90 1 7 6 5... 阅读全文
posted @ 2015-10-14 17:52 kernel_main 阅读(180) 评论(0) 推荐(0) 编辑

摘要: #include "stdafx.h"void PrintFunc(int a[], int n){ for (int i = 0; i =0&& a[j]>x)//重点 { a[j + 1] = a[j]; j... 阅读全文
posted @ 2015-10-14 17:50 kernel_main 阅读(205) 评论(0) 推荐(0) 编辑

2015年10月8日

摘要: 打开调试开关: 阅读全文
posted @ 2015-10-08 10:32 kernel_main 阅读(1273) 评论(0) 推荐(0) 编辑

2015年9月20日

摘要: 入手还算比较顺利,一开始使用网上下的别人精简的OS,发现ACT及PWR灯一直亮着,上网查说用HDMI连接显示器需要修改配置文件config.txt,但修改后情况依旧。如果还是用官方的系统试试吧,上网搜到最近2015年的(感觉应该不是最新,先试试,不行再刷也就分分钟的事,谁叫我们这么爱折腾呢):htt... 阅读全文
posted @ 2015-09-20 22:50 kernel_main 阅读(28835) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 10 下一页