long与float的取值范围大小
float f = 3.14F; long l = 9223372036854775807L; long(8)与float(4)的取值范围谁大谁小?回答:float的计算值的方式与long类型不一样 ...
使用Fiddler对于iOS APP的HTTP/HTTPS抓包
PC上安装Fiddler官方地址:http://www.telerik.com/download/fiddler提供一个中文汉化修改版:Fiddler(v4.6.1.5)_汉化版.zipFiddler配置打开Fiddler, Tools->FiddlerOptions。选中"DecrptHTTPS...
LCD1602A显示字符或字符串
#include<reg52.h>#include<string.h>#define uchar unsigned char#define uint unsigned intsbit EN=P1^4;sbit RS=P1^6;sbit RW=P1^5;void LCD1602(){ EN=0;&n...
集成式数码管动态显示电路
按键调节数码管数字显示
#include<reg51.h>#define INT8U unsigned char#define INT16U unsigned intsbit K1=P3^4;sbit K2=P3^5;sbit K3=P3^6;sbit K4=P3^7;INT8U code SEG_CODE[]={0xc0,0xf9,...
集成式数码管动态扫描显示
#include<reg52.h>#define INT8U unsigned char#define INT16U unsigned intcode INT8U SEG_CODE[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};code INT8U array[]={2,0,1,5...
PCB_触摸延时开关
11月17日
#include<stdio.h>#include<stdlib.h>#include<time.h>int main(){ int n1,n2,answer; srand(time(NULL)); n1=0+rand()%100; n2=0+rand()%1...
GD库处理图片文字水印/图片水印/图片压缩
<?php require 'image.GD.class.php'; $img_url = 'image/1.jpg';  ...
Python正则采集邮箱脚本
def regcontent(urlstr): respose=urllib.request.urlopen(urlstr) html=respose.read() f=re.compile(r'\d{3,12}@.{2,3}.com') items=f...
Powered By Cheug's Blog
Copyright Cheug Rights Reserved.