上一页 1 ··· 74 75 76 77 78 79 80 81 82 ··· 95 下一页
摘要: 也许很多C++的初学者都知道什么是构造函数,但是对复制构造函数(copy constructor)却还很陌生。对于我来说,在写代码的时候能用得上复制构造函数的机会并不多,不过这并不说明复制构造函数没什么用,其实复制构造函数能解决一些我们常常会忽略的问题。 为了说明复制构造函数作... 阅读全文
posted @ 2013-02-01 22:27 N3verL4nd 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 如下图所示,当在一个EXE工程中调用lib或dll时,2个工程的下面选项一定要一致,否则会导致exe工程编译不过。 原则: Debug下,默认是MTd; Release下,默认是MT。 阅读全文
posted @ 2013-01-28 21:05 N3verL4nd 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 解压缩wget源代码到一个目录 将openssl解压缩以后的 inc32\openssl 目录里面全部文件复制到 wget src\openssl 目录里; 在 wget 目录里面执行 configure --msvc 进入VC安装路径,执行 VCVARS32.BAT(vc6一般在 Micros... 阅读全文
posted @ 2013-01-28 19:06 N3verL4nd 阅读(416) 评论(0) 推荐(0) 编辑
摘要: Windows下编译OpenSSL 1) 访问http://www.openssl.org/source/,下载最新版本. 本例下载的是openssl-1.0.1c.tar.gz 2) 使用WinRAR压缩工具对openssl-1.0.1c.tar.gz文件解压缩。 ... 阅读全文
posted @ 2013-01-28 18:17 N3verL4nd 阅读(764) 评论(0) 推荐(0) 编辑
摘要: Setting environment for using Microsoft Visual Studio 2010 x86 tools. D:\VS2010\VC>lib.exe Microsoft (R) Library Manager Version 10.00.30319.01 Co... 阅读全文
posted @ 2013-01-26 20:18 N3verL4nd 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 功能有待完善和添加 #include #include #include #include #include #include #include using namespace std;//通过Wget来获取网页string GetHtmlByWget(string url){ //获取待... 阅读全文
posted @ 2013-01-25 15:30 N3verL4nd 阅读(181) 评论(0) 推荐(0) 编辑
摘要: C语言显示系统时间的几个办法#include #include #includeint main(){ time_t t = time(0); char tmp[64]; strftime( tmp, sizeof(tmp), "%Y/%m/%d %X %A 本月第%j天 %z",l... 阅读全文
posted @ 2013-01-25 13:28 N3verL4nd 阅读(669) 评论(0) 推荐(0) 编辑
摘要: import java.awt.BorderLayout;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JFrame;import javax.swing.JOp... 阅读全文
posted @ 2013-01-14 20:24 N3verL4nd 阅读(581) 评论(0) 推荐(0) 编辑
摘要: import java.awt.FlowLayout;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JFra... 阅读全文
posted @ 2013-01-14 20:23 N3verL4nd 阅读(196) 评论(0) 推荐(0) 编辑
摘要: stringbuffer capacity()的疑问 public class Example9_11 { public static void main(String args[]) { StringBuffer str = new StringBuffer(); str.append("... 阅读全文
posted @ 2013-01-14 16:32 N3verL4nd 阅读(157) 评论(0) 推荐(0) 编辑
上一页 1 ··· 74 75 76 77 78 79 80 81 82 ··· 95 下一页