什么让你对C/C++如此恐惧?C/C++语言如此的强大,让人爱不释手,但晦涩的语法和诸多的编程陷阱让人头皮发麻。段错误我们通常遇到的最多的错误莫过于段错误,下面是一个经典的段错误,你没遇到过?亲,那不可能~
好吧,一般这样的错误大都由指针引起,看看我们的代码都写了些什么:#include "stdio.h"
#include "string.h"
#include "stdlib.h"void f...
分类:
编程语言 时间:
2015-04-29 23:28:30
阅读次数:
309
看一个coredump例子:
看一个coredump例子:
Core was generated by `./xuzhina_dump_c07_s2_ex'.
Program terminated with signal 11, Segmentation fault.
#0 0x0285b9b7 in std::_List_node_base::hook(std::_List_node_b...
分类:
系统相关 时间:
2015-04-26 00:02:28
阅读次数:
301
iOS开发报错 clang: error: unable to execute command: Segmentation fault: 11...
分类:
移动开发 时间:
2015-04-17 18:18:25
阅读次数:
331
对于新建或新导入没有project设定的项目
去除eclipse的JS验证:
将windows->preference->Java Script->Validator->Errors/Warnings->
Enable Javascript Sematic validation前面的勾去掉;
对于已有项目:
修改.project文件:
找到项目目录,删除项目目录里的 .projec...
分类:
编程语言 时间:
2015-04-08 10:59:58
阅读次数:
147
We studied a very powerful approach for customer segmentation inthe previous post, which is based on the customer’s lifecycle. We used two metrics:fre...
分类:
其他好文 时间:
2015-04-03 17:16:53
阅读次数:
127
I want to share a very powerful approach for customer segmentation in this post. It is based on customer’s lifecycle, specifically onfrequencyandrecen...
分类:
其他好文 时间:
2015-04-03 16:58:40
阅读次数:
305
This is the third post aboutLifeCycle Grids. You can find the first post about the sense of LifeCycle Grids and A-Z process for creating and visualizi...
分类:
其他好文 时间:
2015-04-03 16:54:47
阅读次数:
283
上一篇我们大概聊了如何写一个简单的字符设备驱动,我们不是神,写代码肯定会出现问题,我们需要在编写代码的过程中不断调试。在普通的c应用程序中,我们经常使用printf来输出信息,或者使用gdb来调试程序,那么驱动程序如何调试呢?我们知道在调试程序时经常遇到的问题就是野指针或者数组越界带来的问题,在应用程序中运行这种程序就会报segmentation fault的错误,而由于驱动程序的特殊性,出现此类...
分类:
系统相关 时间:
2015-04-02 07:57:33
阅读次数:
416
The segmentation and paging mechanisms provide in the support a wide variety of approaches to memorymanagement. When segmentation and paging are combi...
分类:
移动开发 时间:
2015-03-11 23:25:14
阅读次数:
188
提到关联规则算法,一般会想到Apriori或者FP,一般很少有想到HotSpot的,这个算法不知道是应用少还是我查资料的手段太low了,在网上只找到很少的内容,这篇http://wiki.pentaho.com/display/DATAMINING/HotSpot+Segmentation-Profiling ,大概分析了一点,其他好像就没怎么看到了。比较好用的算法类软件,如weka,其里面已经包...
分类:
编程语言 时间:
2015-03-10 19:22:52
阅读次数:
202