上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 58 下一页
摘要: 转载自:http://www.cnblogs.com/lidabo/p/3790606.html ,感谢作者! 问题来源: 由于面试题中,考官出了一道简单的程序输出结果值的题:如下, class A { private: int n1; int n2; public: A():n2(0),n1(n2 阅读全文
posted @ 2016-05-18 20:09 PKICA 阅读(497) 评论(0) 推荐(0)
摘要: 1.定位Debian ISO镜像的位置,比如说sda3 fdisk -l 2.挂载: # mount -t auto /dev/sda3 /media/mnt 生成isodebian路径 /mnt# mkdir isodebian t# mount -o loop /media/mnt/debian 阅读全文
posted @ 2016-05-18 07:16 PKICA 阅读(4682) 评论(0) 推荐(0)
摘要: Linux的网卡由eth0变成了eth1,如何修复使用wmware安装了linux,安装成功后,使用的网卡是eth0,没有eth1。但是用过一段时间后,不知道为什么eth0无法使用,系统却自动生成了eth1网卡,这可以使用ifconfig命令看... Linux的网卡由eth0变成了eth1,如何修 阅读全文
posted @ 2016-05-17 10:06 PKICA 阅读(633) 评论(0) 推荐(0)
摘要: 本文根据官网说明和实际安装而写,利在分享知识,但转载请注明出处以尊重知识! 一 首先在win7下利用EasyBCD添加安装选项,“添加新条目|安装|配置” 在弹出的memu.lst中填写如下内容: title Install Debian root(hd0,0) kernel (hd0,0)/vml 阅读全文
posted @ 2016-05-14 17:12 PKICA 阅读(1582) 评论(0) 推荐(0)
摘要: oracle中清空表数据的两种方法 1、delete from t 2 、truncate table t 区别: 1、delete是dml操作;truncate是ddl操作,ddl隐式提交不能回滚 2、delete from t可以回滚,truncate table t 不可以回滚 3、 trun 阅读全文
posted @ 2016-05-13 14:55 PKICA 阅读(543) 评论(0) 推荐(0)
摘要: 数组指针和指针数组的区别 数组指针(也称行指针) 定义 int (*p)[n]; ()优先级高,首先说明p是一个指针,指向一个整型的一维数组,这个一维数组的长度是n,也可以说是p的步长。也就是说执行p+1时,p要跨过n个整型数据的长度。 如要将二维数组赋给一指针,应这样赋值: int a[3][4] 阅读全文
posted @ 2016-05-12 11:43 PKICA 阅读(241) 评论(0) 推荐(0)
摘要: 修改CS,IP指令 阅读全文
posted @ 2016-05-08 21:33 PKICA 阅读(417) 评论(0) 推荐(0)
摘要: 本文转载 http://www.cnblogs.com/chengmo/archive/2010/10/14/1851570.html ,感谢作者! shell可以在不调用第3方命令,表示不同进制数据。这里总结以下表示方法。shell 脚本默认数值是由10 进制数处理,除非这个数字某种特殊的标记法或 阅读全文
posted @ 2016-05-08 11:17 PKICA 阅读(2294) 评论(0) 推荐(0)
摘要: 1、find中的-exec参数 在当前目录下(包含子目录),查找所有txt文件并找出含有字符串"bin"的行 find ./ -name "*.txt" -exec grep "bin" {} \; 在当前目录下(包含子目录),删除所有txt文件 find ./ -name "*.txt" -exe 阅读全文
posted @ 2016-05-08 10:53 PKICA 阅读(22501) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include "com_time.h" #include "com_func.h" /* * Definition of leap year: Rule 1: A year is 阅读全文
posted @ 2016-05-02 17:24 PKICA 阅读(278) 评论(0) 推荐(0)
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 58 下一页