上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 36 下一页
火狐firefox,包含了火狐浏览器的源代码,开发文档,火狐源代码使用等等https://developer.mozilla.org/en-US/linux/unix/freeBSD/openBSD 文档manpagehttp://nixdoc.net/ohloh code 找代码Welcome to Ohloh Code, the world’s largest, most comprehensive free code search engine! Koders has now merged with Ohloh to become your one-stop resou... Read More
posted @ 2012-11-06 16:57 godjob Views(546) Comments(0) Diggs(0) Edit
FTP命令是Internet用户使用最频繁的命令之一,不论是在DOS还是UNIX操作系统下使用FTP,都会遇到大量的FTP内部命令。熟悉并灵活应用FTP的内部命令,可以大大方便使用者,并收到事半功倍之效。 FTP的命令行格式为:ftp-v-d-i-n-g[主机名],其中-v显示远程服务器的所有响应信息;-n限制ftp的自动登录,即不使用;.netrc文件;-d使用调试方式;-g取消全局文件名。ftp使用的内部命令如下(中括号表示可选项):1.![cmd[args]]:在本地机中执行交互shell,exit回到ftp环境,如:!ls*.zip.2.$macro-ame[args]:执行宏定义ma Read More
posted @ 2012-10-29 22:23 godjob Views(259) Comments(0) Diggs(0) Edit
本文主要介绍了 OpenSCManager、CreateService、OpenService、ControlService、DeleteService、 RegisterServiceCtrlHandler、SetServiceStatus、StartServiceCtrlDispatcher等操 作服务程序的主要几个API的用法,具体的函数参数大家可以查阅MSDN。为什么要使用服务应该程序呢?服务程序就像系统的一些服务一样,能够自动地启动,并执行相应的操作;而且因为服务程序的在层次上和一般的应用程序不同,其 能够在系统启动时就自动地运行,而不像一般的应用程序那样一定要在登陆后才能运行,这些 Read More
posted @ 2012-10-27 23:27 godjob Views(551) Comments(0) Diggs(0) Edit
最近在学网络编程,找到了国外一个开源的FTP服务器FileZilla server,可以研究研究源代码,当然开始时候应该要编译成功,下面给大家一个能够编译的版本,假设你已经在自己机子上安装了vs2010(也许vs2008也可以吧),下载下面的源代码,既然我们看的是开源软件源码,下载当然也是免费的,一起共享http://download.csdn.net/detail/hellosijian/4691680解压打开里面的工程,编译就可以,具体用法可以参看下面这篇文章,运行服务器后,可以直接在你的浏览器上输入 ftp:电脑IP便可进入 ,或者打开cmd命令行,输入ftp ip也可以进入http:/ Read More
posted @ 2012-10-27 12:04 godjob Views(929) Comments(0) Diggs(1) Edit
View Code 1 /* 2 Source Code for Cryptography (Just a touch) 3 4 5 6 SOURCE CODE FOR MD5 7 8 md5.h (the include file for the above C code) 9 10 Karn Encryption: Symmetric Secret with MD5 11 12 SHA-1 By Steve Reid 13 14 RSA Crypto Toolkit Totality 15 16 DES Encrypti... Read More
posted @ 2012-10-21 23:45 godjob Views(544) Comments(0) Diggs(0) Edit
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=233题目类型: 数据结构, 二叉树题意与背景:同二叉树一样,四叉树也是一种数据结构,是一种每个节点... Read More
posted @ 2012-10-20 23:12 godjob Views(1699) Comments(0) Diggs(0) Edit
转的题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=104&page=show_problem&problem=489递归求解,可以不用建树。#include<iostream>#include<sstream>#include<string>#include<algorithm>usingnamespacestd;constintminn=100000005;intinorder[10002];i Read More
posted @ 2012-10-20 23:10 godjob Views(271) Comments(0) Diggs(0) Edit
常用网络端口简介TCP/UDP端口可分为3大类, 按端口号分:(1)公认端口(Well Known Ports):从0到1023,它们紧密绑定(bind)于一些服务。通常这些端口的通讯明确表明了某种服务的协议。不可随意更改. 例如:80端口实际上总是HTTP通讯。 (2)注册端口(Registered Ports):从1024到49151。它们松散地绑定于一些服务。也就是说有许多服务绑定于这些端口,这些端口同样用于许多其它目的。例如:许多系统处理动态端口从1024左右开始。(3)动态的(和/或)私有端口(Dynamic and/or Private Ports):从49152到65535。理论 Read More
posted @ 2012-10-19 21:47 godjob Views(5316) Comments(0) Diggs(0) Edit
// hello.cpp : 定义控制台应用程序的入口点。//#define WPCAP#define HAVE_REMOTE#include "stdafx.h"#include <iostream>#include <algorithm>#include <string>#include <vector>/** we do not want the warnings about the old deprecated and unsecure CRT functions* since these examples can b Read More
posted @ 2012-10-19 20:45 godjob Views(148) Comments(0) Diggs(0) Edit
#include <stdio.h>int main(){ int t,i,j,n,m,h,sum,a[4000]; scanf("%d",&t); while (t--) { scanf("%d",&n); for (i=1;i<=n;i++) a[i]=0; sum=0; scanf("%d",&m); for (i=1;i<=m;i++) {scanf("%d",&h); for (j=1;j*h<=n;j++) a[j*h]=1; } for ( Read More
posted @ 2012-10-17 20:46 godjob Views(171) Comments(0) Diggs(0) Edit
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 36 下一页