2007年10月11日

c++多态的实现 VC++消息映射的实现

摘要: http://blog.csdn.net/gxnu/archive/2007/09/26/1801870.aspx 多态是如何利用这个虚函数表实现的呢?看下面的代码: struct Super { int data; virtual int add(int i){return i;}; virtual string toString()=0; }; class Sub... 阅读全文

posted @ 2007-10-11 13:09 cutepig 阅读(4195) 评论(0) 推荐(0)

2007年10月7日

ISA接口介绍

摘要: http://www.laogu.com/my/tcp3.htm —— 有ISA的引脚图。 阅读全文

posted @ 2007-10-07 13:14 cutepig 阅读(1003) 评论(1) 推荐(0)

2007年10月4日

iptables NAT+squid实现透明代理

摘要: iptables 设置(NAT和ip限制,80转发,需要有ip文件ip2.txt): intra="192.168.0.0/24"myip="219.217.235.73"myDNS="202.118.224.101:53"echo 1 > /proc/sys/net/ipv4/ip_forward#清空规则/sbin/iptables -F /sbin/iptables -t nat -F/sb... 阅读全文

posted @ 2007-10-04 14:47 cutepig 阅读(4454) 评论(0) 推荐(0)

awk用法小结

摘要: awk用法小结http://www.chinaunix.net/jh/24/691456.html awk 用法:awk ' pattern {action} ' 变量名 含义 ARGC 命令行变元个数 ARGV 命令行变元数组 FILENAME 当前输入文件名 FNR 当前文件中的记录号 FS 输入域分隔符,默认为一个空格 RS 输入记录分隔符 NF 当前记录里域个数 NR 到目前为止记录... 阅读全文

posted @ 2007-10-04 10:41 cutepig 阅读(470) 评论(0) 推荐(0)

Linux 设备驱动 Edition 3

摘要: Linux 设备驱动 Edition 3By Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman 由 quickwhale 翻译的简体中文版 V0.1.0 2006-6-2 http://www.deansys.com/doc/ldd3/index.html 目录 1. 第一章 设备驱动简介 1.1. 驱动程序的角色 1... 阅读全文

posted @ 2007-10-04 10:10 cutepig 阅读(396) 评论(0) 推荐(0)

2007年10月3日

X Window研究笔记(1)~22

摘要: X Window研究笔记(1)~22 http://blog.csdn.net/absurd/archive/2007/09/11/1781351.aspx 阅读全文

posted @ 2007-10-03 21:19 cutepig 阅读(825) 评论(0) 推荐(0)

linux usb驱动源代码分析

摘要: http://blog.csdn.net/fudan_abc/archive/2007/06.aspxhttp://edu.lilacbbs.com/bbstcon.php?board=Linux&gid=19451 3751 marvel Oct 3 ● Linux那些事儿之我是U盘--引子 3752 marvel Oct 3 ● Linux那些事儿之我是U盘(1)小城故事 ... 阅读全文

posted @ 2007-10-03 21:03 cutepig 阅读(4156) 评论(1) 推荐(0)

IC设计,verilog学习链接

摘要: 针对C语言编程者的Verilog开发指南实例from http://news.zfa.cn/indexpage/zzym/zzym.jsp?id=1614&name=cpsjverilog/VHDL设计经验点滴 http://www.blog.edu.cn/user2/rickywu/archives/2006/1078817.shtml学EDA的同学可以通过开源提高自己 http://www.b... 阅读全文

posted @ 2007-10-03 20:08 cutepig 阅读(286) 评论(0) 推荐(0)

sshd配置

摘要: 允许root登陆 cat /etc/ssh/sshd_config PermitRootLogin yes 以底下的方式來啟動 ssh 服務: /etc/rc.d/init.d/sshd start 或者配置ntsysv让自动启动 阅读全文

posted @ 2007-10-03 16:47 cutepig 阅读(888) 评论(0) 推荐(0)

linux下pppoe服务器配置

摘要: 终于搞明白pppoe + NAT 作上网服务器的原理了,哈哈哈。rp-PPPoE设置: 检查rppppoe装上没有(redFlag已经装上) rpm -qa | grep -i "pppoe" /etc/ppp/pap-secrets配置如下: #client server secret IP address"usr" * "123" * /etc/ppp/chap-secrets的配置和pap-... 阅读全文

posted @ 2007-10-03 13:52 cutepig 阅读(11676) 评论(2) 推荐(0)

2007年9月30日

一些不错的软件

摘要: http://hi.baidu.com/srbga 谈一下我还留着的软件(1)2006-09-19 22:49首先看看现在还没uninstall的吧.........按在program里的顺序... 1. ACDSee 事实上.....好象这几年我居然没怎么用它....每次都用的windows自带....所以我对它存在的必要产生了一点点怀疑,虽然我小时侯一直用... 2. WinRAR 不说它了... 阅读全文

posted @ 2007-09-30 22:29 cutepig 阅读(2342) 评论(3) 推荐(0)

python for 初学者

摘要: http://hi.baidu.com/srbga/blog/item/46ced42ab33ec02cd42af1c5.html http://hi.baidu.com/srbga/blog/item/46ced42ab33ec02cd42af1c5.html 阅读全文

posted @ 2007-09-30 21:56 cutepig 阅读(226) 评论(0) 推荐(0)

百度之星

摘要: http://gcdn.grapecity.com/cs/forums/permalink/4418/4418/ShowThread.aspx 2007百度之星初赛第一场试题 http://topic.csdn.net/t/20061107/11/5138789.html# set_intersection set_difference set_union set_... 阅读全文

posted @ 2007-09-30 21:13 cutepig 阅读(811) 评论(1) 推荐(0)

2007年9月27日

linux下编程IDE环境

摘要: linux下编程IDE环境 Eclipse http://www.linuxdby.com/html/linux/other/20070509/40014.html windows下使用方法: 安装j2sdk-1_4_2_09-nb-4_1-win-ml.exe (其实装上后就有netbeans也能用,中文教程http://gceclub.sun.com.cn/NetBeans/tutorial... 阅读全文

posted @ 2007-09-27 21:17 cutepig 阅读(756) 评论(0) 推荐(0)

2007年9月26日

Question of the Day: Microsoft | Database, Multiple Questions in One

摘要: Question of the Day: Microsoft | Database, Multiple Questions in One from CareerCup by Jason Yip HR: SQL What is an index? Explain cluster index. What are the different types of joins. Explain. Explai... 阅读全文

posted @ 2007-09-26 20:07 cutepig 阅读(228) 评论(0) 推荐(0)

模式识别中的核方法

摘要: 模式识别中的核方法 Kernel Methods for Pattern Analysis 你说的那本书,好像评价还不错的,好像还有 1. Scholkopf, B. and A.J. Smola, Learning with Kernels. 2002: MIT Press Cambridge, Mass. 644. 2. Herbrich, R., Learning ker... 阅读全文

posted @ 2007-09-26 09:27 cutepig 阅读(694) 评论(0) 推荐(0)

2007年9月25日

关于串口发送短信

摘要: 关于串口发送短信 可以用超级终端调试 推荐串口监视软件 Serial Monitor 例子程序: http://www.vckbase.com/code/downcode.asp?id=2411 “通过串口收发短消息”的Q&A汇编: http://www.vckbase.com/document/viewdoc/?id=1131 指令: "AT+CSCA?"指令查询服务中心号码 "AT+CSCA=... 阅读全文

posted @ 2007-09-25 12:02 cutepig 阅读(549) 评论(0) 推荐(0)

2007年9月19日

C#笔记

摘要: C#笔记 读取网页: using System.Net; using System.Text; using System.Web; using System.IO ; public void getPageContent(String url) { WebRequest request = WebRequest.Create(url); try { //... 阅读全文

posted @ 2007-09-19 12:55 cutepig 阅读(632) 评论(6) 推荐(0)

2007年9月17日

汇编优化

摘要: csdn上果然藏龙卧虎呀,今天看到一系列汇编优化的讨论贴,认真看看对指令优化、SSE2的理解会很有帮助,把链接附上: 千分求汇编优化:UInt96x96To192(...)http://community.csdn.net/Expert/TopicView3.asp?id=5505130擂台:超大整数高精度快速算法http://topic.csdn.net/T/20040510/14/304973... 阅读全文

posted @ 2007-09-17 17:06 cutepig 阅读(1121) 评论(0) 推荐(0)

2007年9月16日

纯真IP数据库格式详解

摘要: 研究了他的格式,总的来说索引部分比较简单,数据部分稍微复杂一些,写了一个程序测试了一下,基本符合。详细的分析参考以下网址: http://lumaqq.linuxsir.org/article/qqwry_format_detail.html http://blog.xieyubo.com/archives/25.html 阅读全文

posted @ 2007-09-16 21:13 cutepig 阅读(635) 评论(0) 推荐(0)

导航