上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 45 下一页

2011年6月2日

一个http请求的详细过程

摘要: 一个http请求的详细过程我们来看当我们在浏览器输入http://www.mycompany.com:8080/mydir/index.html,幕后所发生的一切。首先http是一个应用层的协议,在这个层的协议,只是一种通讯规范,也就是因为双方要进行通讯,大家要事先约定一个规范。1.连接 当我们输入这样一个请求时,首先要建立一个socket连接,因为socket是通过ip和端口建立的,所以之前还有... 阅读全文

posted @ 2011-06-02 09:13 风乔 阅读(152) 评论(0) 推荐(0) 编辑

2011年6月1日

c++面试题

摘要: #include #include "mainwindow.h"#include class CB{public: virtual void OutString(const char* str="CB:Outstring") { QMessageBox::information(NULL, "EnQStrXml", "Call CB::Outstring(...)"); ... 阅读全文

posted @ 2011-06-01 10:25 风乔 阅读(150) 评论(0) 推荐(0) 编辑

2011年5月31日

c# 获取天气预报信息

摘要: Uri uri = new Uri("http://api.liqwei.com/weather/?t=1"); WebRequest wreq = WebRequest.Create(uri); HttpWebResponse wresp = (HttpWebResponse)wreq.GetResponse(); string HTML = ""; //最终包含... 阅读全文

posted @ 2011-05-31 09:31 风乔 阅读(752) 评论(0) 推荐(0) 编辑

2011年5月26日

qt 断点续传例子

摘要: //功能: 根据一个URL地址将数据保存到指定路径下,支持断点续传//参数: url --需要访问的URL地址// SavePath --需要保存的路径//DownedSize 已经下载的大小// totalSize 文件总大小//返回值: ture --成功 false --失败bool HttpGet::DownFile(cons... 阅读全文

posted @ 2011-05-26 16:44 风乔 阅读(883) 评论(0) 推荐(0) 编辑

qt 断点续传

摘要: http://www.qtcentre.org/archive/index.php/t-25255.htmlhttp://www.qtcn.org/bbs/read.php?tid=15527 阅读全文

posted @ 2011-05-26 13:56 风乔 阅读(194) 评论(0) 推荐(0) 编辑

2011年5月25日

安装gentoo过程

摘要: http://www.gentoo.org/doc/zh_cn/gentoo-x86-quickinstall.xml补充1.gentoo-nofb2.livecd root # lspci(根据lspci的输出查看需要哪些模块)(以下只是个例子,实际以具体硬件为准)livecd root # modprobe 3w-9xxxlivecd root # modprobe r81693. dhc... 阅读全文

posted @ 2011-05-25 14:41 风乔 阅读(218) 评论(0) 推荐(0) 编辑

2011年5月24日

gentoo 安装指南

摘要: http://blogold.chinaunix.net/u3/93926/showart_1873922.html 阅读全文

posted @ 2011-05-24 18:12 风乔 阅读(131) 评论(0) 推荐(0) 编辑

nvidia-linux-x86最新高清驱动下载

摘要: ftp://download.nvidia.com/XFree86/Linux-x86/275.09/ 阅读全文

posted @ 2011-05-24 15:56 风乔 阅读(314) 评论(0) 推荐(0) 编辑

ubuntu开机进入字符界面

摘要: Ubuntu 10.10启动进入命令行模式 1: 运行 sudo gedit /etc/default/grub 2: 找到 GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” 3: 改为 GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash text” 3: 运行 sudo update-grub 重启 over 根本不需要... 阅读全文

posted @ 2011-05-24 15:34 风乔 阅读(256) 评论(0) 推荐(0) 编辑

2011年5月18日

qt 检测usb

摘要: qtusb.h#ifndef QTUSB_H#define QTUSB_H#include #include #include class QtUsb : public QObject{ Q_OBJECTprivate: const static int INTERFACE = 0; const static int CONFIGURATION =... 阅读全文

posted @ 2011-05-18 17:49 风乔 阅读(1153) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 45 下一页

导航