参考:http://chenqx.github.io/2014/09/25/Cpp-Memory-Management/ 内存管理详解 野指针: 一、申请了指针没有初始化,全局指针未初始化编译时无错误,运行会出错,局部指针编译时会报错——unintialized; 二、malloc申请的内存用fre ...
分类:
其他好文 时间:
2017-07-21 23:14:31
阅读次数:
243
背景知识: (1)tf-idf 按照词TF-IDF值来衡量该词在该文档中的重要性的指导思想:如果某个词比较少见,但是它在这篇文章中多次出现,那么它很可能就反映了这篇文章的特性,正是我们所需要的关键词。 tf–idf is the product of two statistics, term fre ...
分类:
其他好文 时间:
2017-06-04 17:07:33
阅读次数:
450
malloc函数:malloc的全称是memory allocation,中文叫动态内存分配。作用是向系统申请分配指定size个字节的内存空间,函数原型为: void*表示未确定类型的指针,C,C++规定,void* 类型可以通过类型转换强制转换为任何其它类型的指针。 free函数:void fre ...
分类:
其他好文 时间:
2017-05-28 12:58:34
阅读次数:
235
yum安装httpd和php、mysql服务 vsftpd 安装 编译LAMP安装 一:工具gcc安装 二:安装zlib 三:安装apache 四:准备安装PHP,需要安装PHP的一些依赖程序 A:安装libxml2 make 完正常情况显示 B:安装jpeg8 C:安装libpng D:安装fre ...
分类:
其他好文 时间:
2017-05-17 16:12:01
阅读次数:
297
# # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-fre ...
分类:
系统相关 时间:
2017-05-01 00:19:58
阅读次数:
208
Centos7编译freeswitchfreeswitch版本:1.6操作系统基本是最小安装时间:2017-04/26温馨提示:如果想更快的编译成功可以先把所有的yum的软件安装完成(及所有的yum命令执行一下)步骤和问题解决1.安装gityuminstallGit2.获取源码gitclonehttps://freeswitch.org/stash/scm/fs/fre..
分类:
其他好文 时间:
2017-04-26 19:18:17
阅读次数:
344
drop_caches文档说明 Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.To fre ...
分类:
系统相关 时间:
2017-04-24 17:20:48
阅读次数:
215
不管用的哪个工具都可以通过下面的教程获取注册码,激活你的开发工具 原文出自:http://www.gezila.com/tutorials/11476.html 首先打开Myeclipse,点击“help”-->“Jrebel config center”,选择“Activation”,点击“fre ...
分类:
其他好文 时间:
2017-04-05 00:47:16
阅读次数:
1062
Police headquarter is monitoring signal on different frequency levels. They have got two suspiciously encoded strings s1 and s2 from two different fre ...
分类:
编程语言 时间:
2017-03-13 20:15:05
阅读次数:
308
package com.qianmi.weidian.common.util; import java.io.*; /** * This class provides encode/decode for RFC 2045 Base64 as defined by RFC 2045, * N. Fre... ...
分类:
其他好文 时间:
2017-02-03 10:57:26
阅读次数:
268