自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

阿然的专栏

IT视界

  • 博客(6)
  • 资源 (25)
  • 收藏
  • 关注

原创 windows 上的 _splitpath 函数在 linux 平台下的简单实现

在做移植时, 发现了 _splitpath 在 linux 下是没有的,于是决定自己写下,也不难。首先百科到如下内容:声明定义void _splitpath( const char *path, char *drive, char *dir, char *fname, char *ext );说明分解路径,把你的完整路径给分割开来,就是一个对字符串进行分割的

2014-11-27 20:04:44 6204 4

原创 Linux 最最常用命令使用示例(10个并配图)

之前一个朋友想要我教下Linux的使用,于是我按照命令的关联性做了一个入门级的教程如下:(如果想下载 word 文件保存,请 下载)----------------------------------- 我是调皮的上下分割线 -----------------------------------------1. 打开终端的方法(我演示的系统是Linux Mint)   A. 点

2014-11-24 13:04:22 11832

原创 arm平台编译动态库报 relocation R_ARM_MOVW_ABS_NC 错误解决

编译一个能在 arm 平台上用的动态库,结果报错如下:relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC./obj/xxx.o: could not read symbols: Bad valuecollect2: error: ld returned 1 exit status其实错误信息已经给出解决办法了,加

2014-11-21 18:28:00 24355 4

转载 Linux C语言 格式化输出时间函数 strftime()

今天在做根据日期时间+ID作为文件名存储时,用到了格式化时间的要求,如果单纯用struct tm这个结构体中获取到的信息来拼接字符串的话,如果是个位数,则不会在前面补0,比如我需要的是20130306,如果采用snprintf拼接字符串时获取到的时201336,这与我之前设想的有所不同,记得以前曾经自己实现过一个格式化的函数,但是比较繁琐。于是google了一下竟然还真有一个这样的函数:strft

2014-11-13 09:28:14 9055 1

转载 Linux Shell 1>/dev/null 2>&1 含义

shell中可能经常能看到:echo log > /dev/null 2>&1命令的结果可以通过%>的形式来定义输出/dev/null :代表空设备文件>  :代表重定向到哪里,例如:echo "123" > /home/123.txt1  :表示stdout标准输出,系统默认值是1,所以">/dev/null"等同于"1>/dev/null"2  :表示s

2014-11-12 15:42:26 1099

原创 Linux下C语言计算文件的md5值(长度32)

google了好久都没有找到合适的,其实我只需要一个函数,能计算文件的 md5 值就好,后来找到了 md5.h 和 md5.c 的源文件,仿照别人的封装了个函数(他那个有问题,和 md5sum 计算出来的都不一样)。废话少说,直接贴代码: (再废一句话,如果只想计算字符串的md5值,把字符串传给 MD5Update 函数一次就好)#include "md5.h"#include

2014-11-07 18:56:51 24242 22

C语言运算符优先级.docx

C语言运算符优先级

2017-03-01

MadEdit-Mod_0.3.7_x86_Green.7z

文本编辑器/16进制编辑器 MadEdit

2015-10-11

MadEdit-Mod_0.3.5_x86_Green.7z

文本编辑器/16进制编辑器 MadEdit

2015-09-18

Source Insight 3.X utf8 支持插件.zip

Source Insight 3.X utf8 支持插件,包含安装说明,完美解决查看 uft-8 编码代码乱码问题

2015-09-14

Linux设备驱动开发详解 第二版 源码 zip

Linux设备驱动开发详解 第二版 源码 zip

2015-05-09

curl-7.41.0.tar.bz2

curl is a command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, HTTP/2, cookies, user+password authentication (Basic, Plain, Digest, CRAM-MD5, NTLM, Negotiate and Kerberos), file transfer resume, proxy tunneling and more.

2015-04-25

libpcap-1.7.3.tar.gz

a portable C/C++ library for network traffic capture.

2015-04-25

libiconv-1.14.tar.gz

This library provides an iconv() implementation, for use on systems which don't have one, or whose implementation cannot convert from/to Unicode.

2015-04-25

libini-1.1.10-2.tgz

An INI file parser that can read, edit and create large INI files. Usable under Microsoft Windows, DOS, Linux, etc. Supported languages are C, C++, Visual Basic, Java, TCL, Perl, Python, etc (DLL and SWIG capable).

2015-04-25

jsoncpp-src-0.5.0.tar.gz

jsoncpp is an implementation of a JSON (http://json.org ) reader and writer in C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.

2015-04-25

ghostpdl-9.16

GhostPCL is Artifex Software's implementation of the PCL-5tm and PCL-XLtm family of page description languages. For more information please see the documentation included with the source package.

2015-04-25

json-c lib

JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.

2015-04-25

curl-7.42.0.tar.bz2

curl is a command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, HTTP/2, cookies, user+password authentication (Basic, Plain, Digest, CRAM-MD5, NTLM, Negotiate and Kerberos), file transfer resume, proxy tunneling and more.

2015-04-25

cconv-0.6.2.tar.gz

cconv(pronunciation: see-conv.) is iconv based simplified-traditional chinese conversion tool. It is NOT only transcoding programm, but also TRANSLATE tools between the Simplified Chinese and Traditional Chinese.

2015-04-25

InputHelper

Sublime Text 在 Linux 下支持中文输入的插件

2015-04-03

Linux内核编程.pdf

作者:Claudia Salzberg 作者 Rodriguez 作者 Gordon Fischer 作者 Steven Smolski 作者 陈莉君 贺炎 刘霞林 译者 《Linux内核编程》以Linux操作系统为基础 详细介绍了Linux内核子系统 并辅以大量内核源代码和示例程序进行演示 引领读者深入Linux内核 《Linux内核编程》的主要内容包括:Linux基础知识 内核探索工具集 进程的整个生命周期 内存区 页面 Slab分配器 用于输入 输出的各种设备 文件系统 抢占 自旋锁 信号量 内核引导 构建Linux内核 以及向内核添加代码等 同时还简单介绍了一些应用工具和实用程序 从而可以获取理解内核内幕所需的信息 每章末尾都给出一些练习 涉及内核运行的操作及工作原理 《Linux内核编程》适合对Linux内核感兴趣的各层次读者 无论对Linux初学者还是Linux 程序开发人员 本书都是一本很有价值的参考书 ">作者:Claudia Salzberg 作者 Rodriguez 作者 Gordon Fischer 作者 Steven Smolski 作者 陈莉君 贺炎 刘霞林 译者 《Linux内核编程》以Linux操作系统为基础 详细介绍了Linux内核子系统 并辅以大量内核源代码和示例程序进行演示 引 [更多]

2015-02-27

color-compile - 源码

当使用 gcc/g++/make 编译出现 error/warning/note 显示相应的醒目的颜色提醒。 解决了有些系统没有颜色的问题

2014-12-30

color-compile 源码

当使用 gcc/g++/make 编译出现 error/warning/note 显示相应的醒目的颜色提醒。

2014-12-23

unix network programming(Volume 1 • Third Edition).pdf

unix network programming(Volume 1 • Third Edition) UNIX网络编程卷1:套接字联网API(第3版)英文版

2014-11-27

计算机的并行接口大全.doc

计算机的并行接口,计算机的并行接口大全 IEEE1284信号及脚序

2014-11-27

Linux 最最常用命令使用示例(10个并配图)

Linux 最最常用命令使用示例(10个并配图) 入门级

2014-11-24

Win8如何架设无线网

Win8如何架设无线网,解决无法建设的问题

2013-05-20

windows环境下,硬盘安装各种linux发行版本

windows环境下,硬盘安装各种linux发行版本 (以linux mint 为例)

2013-05-20

空空如也

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

TA关注的人

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