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], |
2009-11-04 23:12
Windows IP Configuration
Host Name . . . . . . . . . . . . : YJYHOME
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . |
2009-11-04 17:12
2009-11-04 15:03
1〉新建指针
2〉主机名:smtp.yjy0711.com //可以从正向找
|
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= |
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 |
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 |
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 |
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 |
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;
|
2009-11-02 11:09
//start
#include <QtCore/QCoreApplication>
#include <QSqlDatabase>
#include <QDebug>
#include <QSqlQuery>
#include <Q |
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 |
2009-10-31 21:44
2009-10-31 16:45
还要有一个坐标平移到中心的操作
//start
#include "drawarea.h"
#include <qDebug>
void show(cmat & src){
int hi = src.size();
|
2009-10-31 01:14
remote

//start
#include "mainwindow.h"
//end
local

|
|
|