自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 资源 (3)
  • 收藏
  • 关注

原创 C函数和C++函数相互调用

test.c int call_MyMath_sum (int,int); int sum(inta , intb) { return call_MyMath_sum(a,b); } main.cpp #include using namespace std; extern"C" { int sum(int, int); } class MyMath

2013-04-27 11:45:25 1019

原创 [php5.2.4] explode函数不能按照"\r\n"切割字符串

php 版本 5.2.4 现有一txt文件,格式如下: file.txt 1 2 3 4 5 要将其内容按行分割存入数据$array中 执行代码: $fileContent = trim(file_get_contents('file.txt'); $array = explode("\r\n", $fileContent); 并未达到预想的效果 $array =>

2013-04-19 18:55:37 7140 1

原创 php 5.2.4 iconv函数TRANSLIT 有时不靠谱

php 版本 5.2.4 问题:文件字符串转码时按字节截断不当 比如 $str = “公司”; //默认以UTF-8编码 $str = Simple_Util_String::msubstr($str, 4); // 按字节截取前4个字节,原字符串有6个字节 $str .= “adfadsfasdfadsfasdf”;

2013-04-03 18:58:36 1929

lldpad-0.9.38-CentOS_5.5.x86_64.rpm

lldpad-0.9.38-CentOS_5.5.x86_64.rpm dcbd

2011-03-19

fcst-20110320-CentOS_5.5.x86_64.rpm

fcoe target scst centos 5.5 x86_64 rpm

2011-03-19

checkinstall-1.6.2-CentOS_5.5.x86_64.rpm

A lot of people has asked me how can they remove from their boxes a program they compiled and installed from source. Some times -very few- the program's author adds an uninstall rule to their Makefile, but that's not usually the case. This is my primary reason to write CheckInstall. After you ./configure; make your program, CheckInstall will run make install (or whatever you tell it to run) and keep track of every file modified by this installation, using the excelent installwatch utility written by Pancrazio 'Ezio' de Mauro (p@demauro.net).

2011-03-19

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除