- 博客(7)
- 资源 (8)
- 收藏
- 关注
原创 Shell 中字符串处理1
automake/autoconf 入门 作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么容易了。在本文中,将给大家介绍如何使用autoconf和automake两个工具来帮助我们自动地生成符合自由软件惯例的Makefile,
2017-03-24 17:08:03 559
原创 解决RedHat6.3/CentOS6系统中“弹出界面eth0:设备似乎不存在”的问题
从VM中克隆出一份RHEL6.3的系统文件,在另一台电脑上用VM打开,一直不能联网,通过vim /etc/sysconfig/network-scripts/ifcfg-eth0 “service network restart” 各种修改,各种配置,使用“ifconfig”,一直显示:弹出界面 eth0: 设备 似乎不存在, 初始化操作将被延迟。 [失败]也删除过:/etc/udev/rul
2017-03-23 21:49:37 3403
转载 git-svn用法
转自:http://androider.iteye.com/blog/1423847 git-svn用法博客分类: Version Control检出一个已存在svn repository(类似于svn checkout) 我们可以通过git-svn clone命令完成这个操作: git-svn clone your_svn_repository_url从中心服务器的svn reposito
2017-03-21 17:08:53 474
原创 scanf的溢出控制与替代使用
如果str在堆中申请的空间较小,使用scanf(“%s”,str)时,很容易发生溢出,怎么解决呢???#include <stdio.h>#include <malloc.h>int main(int argc, char *argv[]){ char *str = (char *)malloc(10 * sizeof(char)); printf("please input(1
2017-03-20 17:22:42 3547
原创 当结构体遇到数组,简直了!!!
#include <stdio.h>#include <malloc.h>typedef unsigned char u8; typedef unsigned short u16;typedef unsigned int u32;typedef struct _tag_Test1{ u32 a; u8 b; u8 c;
2017-03-20 16:54:42 1266
转载 centos7 执行service network restart出现错误解决办法
centos7 无法启动网络(service network restart)错误解决办法: (以下方法均为网上COPY,同时感谢原博主分享)systemctl status network.service 出现以下错误 “rtnetlink answers file exists” 的解决方法第一种: 和 NetworkManager 服务有冲突,这个好解决,直接关闭 NetworkMange
2017-03-05 17:30:17 20438
the java programming language fourth editionArnoldGoslingHolmes06
2014-08-30
ascii-码表
2014-08-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人