02 2012 档案

摘要:Wireshark(前称Ethereal)是一个网络封包分析软件。网络封包分析软件的功能是截取网络封包,并尽可能显示出最为详细的网络封包资料。在过去,网络封包分析软件是非常昂贵,或是专门属于营利用的软件,Wireshark的出现改变了这一切。在GNU GPL通用许可证的保障范围底下,使用者可以以免费的代价取得软件与其程式码,并拥有针对其源代码修改及客制化的权利。Wireshark是目前全世界最广泛的网络封包分析软件之一。 Wireshark的主要应用包括:(1)网络管理员使用Wireshark来检测网络问题;(2)网络安全工程师使用Wireshark来检查资讯安全相关问题;(3)开发者使用.. 阅读全文
posted @ 2012-02-26 17:33 任琦磊 阅读(4953) 评论(2) 推荐(4) 编辑
摘要:Problem Description Hey, welcome to HDOJ(Hangzhou Dianzi University Online Judge). In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n.Input The input will consist of a series of integers n, one integer per line.Output For each case, output SUM(n) in one line, followed by a b... 阅读全文
posted @ 2012-02-23 03:53 任琦磊 阅读(536) 评论(0) 推荐(0) 编辑
摘要:Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.Input The first line of the input contains an integer T(1<=T<=20) which means the number of test cases. Then T lines follow, each line consists of two positive intege 阅读全文
posted @ 2012-02-23 03:20 任琦磊 阅读(411) 评论(0) 推荐(0) 编辑
摘要:Problem Description CalculateA + B.Input Each line will contain two integersAandB. Process to end of file.Output For each case, outputA + Bin one line.Sample Input 1 1Sample Output 2Code: 1 #include <stdio.h> 2 main() 3 { 4 int A,B; 5 6 while(scanf("%d%d",&A,&B)!=EOF) 7 { 8 . 阅读全文
posted @ 2012-02-23 00:43 任琦磊 阅读(675) 评论(0) 推荐(0) 编辑
摘要:鉴于Win7对VC 6.0兼容的不尽人意,最近电脑上安装了Visual Studio 2010,Visual Stdio 2010的功能确实强大,却导致我无法用其编写C语言。为此我在网上找了不少的教程。 微软的MSDN上有一篇关于VS 2010编译C的文章:《演练:编译 C 程序》(http://msdn.microsoft.com/zh-cn/library/bb384838.aspx),但限于本人能力有限,不能完全看懂。最终经过不懈的搜贴后终于有一个方法可以解决问题,最终满足了我的需求。下面我对这一方法做一下总结: 1、安装完Visual Studio 2010后打开; 2、“文... 阅读全文
posted @ 2012-02-22 21:48 任琦磊 阅读(15821) 评论(0) 推荐(0) 编辑