Chinaunix首页 | 论坛 | 博客
  • 博客访问: 329989
  • 博文数量: 73
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1293
  • 用 户 组: 普通用户
  • 注册时间: 2013-03-07 11:17
个人简介

爱运动,爱看书,爱生活!

文章分类

全部博文(73)

文章存档

2014年(7)

2013年(66)

发布时间:2013-08-17 19:12:40

用此方法可以实现需用判断语句实现max(a,b)点击(此处)折叠或打开#include <stdio.h>#include <stdlib.h>int max(int a,int b){ unsigned r=(a-b)>>(sizeof(int)*8-1);//得到符号位 return r;.........【阅读全文】

阅读(711) | 评论(0) | 转发(0)

发布时间:2013-08-15 16:40:04

点击(此处)折叠或打开#include <stdio.h>//打印函数void print(int a[]){    int i;    for(i=0;i<10;i++){        prin.........【阅读全文】

阅读(1385) | 评论(0) | 转发(1)

发布时间:2013-08-15 11:17:41

直接上代码点击(此处)折叠或打开#include <stdio.h>#include <sys/socket.h>#include <arpa/inet.h>//1.使用unix库函数判断int is_vaild(const char *str){   &n.........【阅读全文】

阅读(2230) | 评论(0) | 转发(0)

发布时间:2013-08-15 11:13:17

这个程序主要是连续不断向要攻击的主机发送TCP数据包点击(此处)折叠或打开#include <stdio.h> #include <unistd.h>#include <stdlib.h>#include <unistd.h>#include <sys/socket.h>#include <netinet/in.h>.........【阅读全文】

阅读(1674) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册