百度空间 | 百度首页 
 
文章列表
 
2009-11-09 23:45

/*
LANG: C++
ID: yjyfrom1
PROB: cookie
*/

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
/*
maxnode 点的个数
maxedge 边的个数
oo INF
*/
const int maxnode = 2000 + 5;
const int maxedge = 400000 + 5;
const int oo = 1000000000;

int node, src, dest, nedge;
int head[maxnode],

类别:Usaco | 评论(0) | 浏览()
 
2009-11-04 23:12

Windows IP Configuration

        Host Name . . . . . . . . . . . . : YJYHOME

        Primary Dns Suffix . . . . . . . :

        Node Type . . . . . . . . . . . . : Unknown

        IP Routing Enabled. . . . . . . . : No

        WINS Proxy Enabled. . . . . .

类别:net 协议 | 评论(0) | 浏览()
 
2009-11-04 17:12
类别:c/c++ | 评论(0) | 浏览()
 
2009-11-04 15:03

1〉新建指针

2〉主机名:smtp.yjy0711.com //可以从正向找

类别:net 协议 | 评论(0) | 浏览()
 
2009-11-03 21:19

//start

#include <stdio.h>
const int SIZE = 100;
char buff[SIZE];
unsigned int dat[]={0x4500,
0x003c ,
0x4d65 ,
0x0000 ,
0x8001,
0x0000 ,
0xac10 ,
0xe027,
0xac10 ,
0xe001};

int main(){
int i;
int len =sizeof(dat)/sizeof(dat[0]);
printf("len:%d\n",len);
int sum=0;
for (i=0;i<len;i++){
   printf("0x%04X\n",dat[i]);
   sum+=dat[i];
}
sum=

类别:net 协议 | 评论(0) | 浏览()
 
2009-11-03 15:56

//start

// yjyfir.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <stdio.h>
#define HAVE_REMOTE
#include "pcap.h"

#ifndef WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#else
#include <winsock.h>
#endif

#include <pcap.h>

#pragma comment(lib, "Packet.lib")
#pragma comment(lib, "wpcap.lib")
#p

类别:net 协议 | 评论(0) | 浏览()
 
2009-11-03 15:06

//start

// yjyfir.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <stdio.h>
#define HAVE_REMOTE
#include "pcap.h"

#ifndef WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#else
#include <winsock.h>
#endif

#include <pcap.h>

#pragma comment(lib, "Packet.lib")
#pragma comment(lib, "wpcap.lib")
vo

类别:net 协议 | 评论(0) | 浏览()
 
2009-11-03 14:59

//start

// yjyfir.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <stdio.h>
#define HAVE_REMOTE
#include "pcap.h"

#ifndef WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#else
#include <winsock.h>
#endif

#include <pcap.h>

#pragma comment(lib, "Packet.lib")
#pragma comment(lib, "wpcap.lib")
vo

类别:net 协议 | 评论(0) | 浏览()
 
2009-11-03 14:35

//start

// yjyfir.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <stdio.h>
#define HAVE_REMOTE
#include "pcap.h"

#ifndef WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#else
#include <winsock.h>
#endif

#include <pcap.h>

#pragma comment(lib, "Packet.lib")
#pragma comment(lib, "wpcap.lib")
vo

类别:net 协议 | 评论(0) | 浏览()
 
2009-11-03 11:14

http://www.ferrisxu.com/WinPcap/html/index.html

//start

// pcapfir.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#define HAVE_REMOTE
#include <pcap.h>

#pragma comment(lib, "Packet.lib")
#pragma comment(lib, "wpcap.lib")

int main()
{
    pcap_if_t * alldevs;
pcap_if_t * d;

类别:net 协议 | 评论(0) | 浏览()
 
2009-11-02 11:09

//start

#include <QtCore/QCoreApplication>

#include <QSqlDatabase>

#include <QDebug>

#include <QSqlQuery>

#include <Q

类别:Qt | 评论(0) | 浏览()
 
2009-11-01 22:20
//start
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <sys/socket.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <netinet/in.h>
const int SIZE = 500;
static void sigCancle(int);
void usage();
void server(int );
int ser;
void init();
char buff[SIZE
类别:linux&unix | 评论(0) | 浏览()
 
2009-10-31 21:44


类别:Qt | 评论(0) | 浏览()
 
2009-10-31 16:45

还要有一个坐标平移到中心的操作

//start

#include "drawarea.h"

#include <qDebug>

void show(cmat & src){

int hi = src.size();

类别:Image | 评论(0) | 浏览()
 
2009-10-31 01:14

remote


//start

#include "mainwindow.h"

//end

local


类别:Qt | 评论(0) | 浏览()
 
     
 
 
文章分类
 
 
随笔(35)
 
 
Vs(10)
 
Java(96)
 
Vfp(10)
 
Css(8)
 
 
Python(27)
 
c#(36)
 
 
c/c++(33)
 
 
Php(23)
 
Bt(1)
 
Spoj(10)
 
Usaco(32)
 
Ai(19)
 
Ruby(6)
 
 
C51(25)
 
Lua(4)
 
 
Asm(42)
 
 
Oj(288)
 
Noip(10)
 
Google(26)
 
Jsp(4)
 
 
Qt(24)
 
Opengl(12)
 
 
 
Vrml(1)
 
 
Flex(16)
 
 
     
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新文章评论
   

在你这里找到了 Code2HTML ,相当之感谢呢^
 

回复luohai8899:http://hi.baidu.com/xhgis/blog/item/bd51e7192d500970dab4bd37....
 
 

这几个网站很不错~
 

Orz
 
     


©2009 Baidu