上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 130 下一页
摘要: 本文转载自:http://zkread.com/article/872291.html 1、 Linux设备中字符设备与块设备有什么主要的区别?请分别列举一些实际的设备说出它们是属于哪一类设备。 字符设备:字符设备是个能够像字节流(类似文件)一样被访问的设备,由字符设备驱动程序来实现这种特性。字符设 阅读全文
posted @ 2017-05-09 11:16 请给我倒杯茶 阅读(1412) 评论(0) 推荐(0)
摘要: 本文转载自:http://www.cppblog.com/mmdengwo/archive/2011/04/14/144253.aspx #include <stdio.h>#include <stdlib.h>int strcmp(char *source, char *dest){while(* 阅读全文
posted @ 2017-05-09 10:51 请给我倒杯茶 阅读(576) 评论(0) 推荐(0)
摘要: 1 int my_atoi(const char *str) 2 { 3 assert(str != NULL); 4 int flag = 1; 5 int result = 0; 6 while(*str == ' ' || *str == '\n' || *str == '\t') 7 { 8 ... 阅读全文
posted @ 2017-05-09 10:40 请给我倒杯茶 阅读(252) 评论(0) 推荐(0)
摘要: 本文转载自:http://blog.csdn.net/cwqbuptcwqbupt/article/details/7518582 看了atol的实现,发现char到int的转换比较奇怪:c = (int)(unsigned char)*nptr++; 先将char转为unsigned再转为int, 阅读全文
posted @ 2017-05-09 10:29 请给我倒杯茶 阅读(807) 评论(0) 推荐(0)
摘要: 本文转载自:http://blog.csdn.net/fenghuayoushi/article/details/6074666 下面内容转自:http://www.cnblogs.com/gesenkof99/archive/2009/04/14/1435642.html 1、内存分配方面: 堆: 阅读全文
posted @ 2017-05-09 10:04 请给我倒杯茶 阅读(436) 评论(0) 推荐(0)
摘要: 本文转载自:http://www.jianshu.com/p/e6062ebb8fc9 去genymotion下载对应的安装包genymotion-2.4.0_x64.bin sudo ./genymotion-2.4.0_x64.bin 提示未安装VirtualBox,如是开始安装VirtualB 阅读全文
posted @ 2017-05-08 17:58 请给我倒杯茶 阅读(1103) 评论(0) 推荐(0)
摘要: 本文转载自:http://www.cnblogs.com/iamhenanese/p/5491862.html 安装JDK 从oracle官网下最新版的linux64位的jdk包(现在最新为jdk-8u92-linux-x64.tar.gz) 命令如下 新建文件夹-解压 sudo mkdir /us 阅读全文
posted @ 2017-05-08 17:02 请给我倒杯茶 阅读(263) 评论(0) 推荐(0)
摘要: 本文转载自:http://blog.csdn.net/walleit/article/details/65696712 版权声明:本文为博主原创文章,未经博主允许不得转载。 版权声明:本文为博主原创文章,未经博主允许不得转载。 一,软件准备 1. Linux版本:Ubuntu kylin 16.04 阅读全文
posted @ 2017-05-08 16:50 请给我倒杯茶 阅读(3165) 评论(0) 推荐(0)
摘要: 本文转自:http://www.cnblogs.com/gw811/archive/2012/10/25/2738929.html C++模板 模板是C++支持参数化多态的工具,使用模板可以使用户为类或者函数声明一种一般模式,使得类中的某些数据成员或者成员函数的参数、返回值取得任意类型。 模板是一种 阅读全文
posted @ 2017-05-06 15:06 请给我倒杯茶 阅读(230) 评论(0) 推荐(0)
摘要: 本文转载自:http://www.cnblogs.com/gw811/archive/2012/10/20/2732687.html 引用:就是某一变量(目标)的一个别名,对引用的操作与对变量直接操作完全一样。 引用的声明方法:类型标识符 &引用名=目标变量名; 如下:定义引用ra,它是变量a的引用 阅读全文
posted @ 2017-05-06 11:50 请给我倒杯茶 阅读(343) 评论(0) 推荐(0)
上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 130 下一页