自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 int 逐个转 char

主要是用 char = int + '0';技术#include #define MAXDIM 80short dec2bin(int d, char *b){ short i = MAXDIM; /* so che b e' un array di MAXDIM + 1 char */ /* introduco il carattere di terminazione ne

2013-08-06 11:30:18 466

原创 ubuntu下无法使用无线网络的解决方法

笔记本新安装 ubuntu 之后经常会发现无线功能无法使用, 在网上搜索了很久之后得知一般是因为软堵塞的关系。解决方法:终端输入 rfkill list 之后会出现适配器的情况,如下1: acer-wireless: Wireless LANSoft blocked: yesHard blocked: no2: phy0: Wirel

2013-04-08 23:15:34 776

原创 Showip

#include #include #include #include #include #include #include int main(int argc, char *argv[]){ struct addrinfo hints, *res, *p; int status; char ispstr[INET6_ADDRSTRLEN]; if (argc !=

2013-01-15 01:12:59 407

原创 网络信息查询

查询本机IP地址: config -a   找到WLAN选项  里面就是IP地址以及 广播,掩码,MAC地址查询默认网关:route | grep default查询DNS服务器:cat etc/resolv.conf

2012-12-30 06:13:25 336

原创 qsort()方法作用于字符串数组的范例

#include #include #include #define MAX_REMIND 50#define MSG_LEN 60int read_line(char str[], int n);int compare_parts(const void *p, const void *q);int main(void){ char *reminders[M

2012-12-10 19:22:41 331

原创 在有序链表中插入结点

#include #include struct node { int value; struct node *next;};struct node *inset_into_ordered_list(struct node *list, struct node *new_node);int main(void){ struct node *p1 = ma

2012-12-08 02:44:28 679

转载 Linux undefined reference to `cos'

今天,在编译一段代码时,出现错误 “undefined reference to cos”但是,该文件已经包含了math.h头文件,错误原因主要是没有定义“cos”函数,或者说没有找到“cos”函数的实现,虽然我们在函数开头声明了数学函数库,但还是没有找到cos的实现,这时我们就需要指定sin函数的具体路径了。 系统一些默认库的位置在/lib/下面,我们可以在编译时,加上参数"-lm"

2012-12-07 06:00:30 896

转载 GIT esercitazione

原文出处:http://www.vogella.com/articles/Git/article.html翻译说明:个人出于兴趣爱好翻译这篇Git教程(google 搜索git tutorial排名第一的文章)。学习git最初的原因是为了了解GitHub,译者水平有限,有不足之处欢迎指正。希望这边译文对你能有帮助。转载请链接出处。 Git教程本教程通过命令行来阐述分布版本控制系统G

2012-11-10 23:48:34 476

原创 Linux配置jdk(jre)及eclipse

登录http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html          下载i586(32位系统),文件Linux x86。  进入usr目录: cd /usr在当前目录创建目录java: mkdir java将jdk安装文件复制到java目录下:c

2012-11-10 17:14:51 1257

原创 选择排序

#include #include #define MAXSIZE 20typedef int Keytype;typedef struct{ Keytype key; //InfoType otherinfo; }RedType; typedef struct{ RedType r[MAXSIZE+1]; int length; }SqList; int Se

2012-07-15 02:23:21 330

原创 快速排序

#include #include #define MAXSIZE 20typedef int Keytype;typedef struct{ Keytype key; //InfoType otherinfo; }RedType; typedef struct{ RedType r[MAXSIZE

2012-07-14 18:03:56 276

原创 起泡排序

#include #include #define MAXSIZE 20typedef int Keytype;#define TRUE 1#define FALSE 0typedef struct{ Keytype key; //InfoType otherinfo; }RedType; typedef struct{

2012-07-13 02:54:11 253

原创 直接插入排序(C语言实现)

#include #include #define MAXSIZE 20typedef int KeyType;typedef struct{ KeyType key; //InfoType otherinfo;}RedType;typedef struct{ RedType r[MAXSIZE+1]; int len

2012-07-12 00:23:40 355

计算机组成原理笔记 米兰大学

MIPS 架构 Universita degli studi di Milano Informatica Archiettura degli elaboratori

2012-12-27

空空如也

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

TA关注的人

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