2015年9月4日
摘要:
main.c 1 #include 2 #include "iic.h" 3 #define AT24C02 0xa0 //AT24C02 地址 4 5 sbit LS138A=P2^2; //译码器端 6 sbit LS138B=P2^3; 7 sbit...
阅读全文
posted @ 2015-09-04 10:50
LeoSanford
阅读(805)
推荐(0)
2015年8月18日
摘要:
1 #include 2 #include 3 #include 4 #include 5 6 #define BUF_SIZE 1024 7 void error_handling(char* message); 8 9 int main(int argc, char* argv[]) 10 { 11 WSADATA wsadata; 12 SOC...
阅读全文
posted @ 2015-08-18 12:19
LeoSanford
阅读(1790)
推荐(0)
2015年8月17日
摘要:
server.c client.c
阅读全文
posted @ 2015-08-17 21:10
LeoSanford
阅读(346)
推荐(0)
摘要:
select.c epoll.c
阅读全文
posted @ 2015-08-17 16:32
LeoSanford
阅读(311)
推荐(0)
摘要:
client.c server.c
阅读全文
posted @ 2015-08-17 15:10
LeoSanford
阅读(441)
推荐(0)
摘要:
gethostbyname.c gethostbyaddr.c
阅读全文
posted @ 2015-08-17 11:23
LeoSanford
阅读(1079)
推荐(0)
2015年8月16日
摘要:
记录下来,供自己学习! server.c client.c
阅读全文
posted @ 2015-08-16 10:56
LeoSanford
阅读(494)
推荐(0)
2015年8月12日
摘要:
写操作 1 #include 2 #include 3 #include 4 #include 5 void error_handling(char* message); 6 7 int main() 8 { 9 int fd; 10 char buf[] = "let's go!"; 11 12 fd = open("1.txt",O_CRE...
阅读全文
posted @ 2015-08-12 15:38
LeoSanford
阅读(422)
推荐(0)
2015年8月10日
摘要:
见http://jingyan.baidu.com/article/9c69d48f41aa6313c9024ebe.html1. 去mircosoft下载安装包(vcredist_x64.exe)2. 执行安装包,在出现如题提示时不要关闭安装窗口。3. 去E盘(或有可能D盘) 会看到如"ff820...
阅读全文
posted @ 2015-08-10 16:58
LeoSanford
阅读(3942)
推荐(0)
2015年8月5日
摘要:
声明原文来源于:http://wenku.baidu.com/view/1e6d8f3083c4bb4cf7ecd1c2.html讨论AD转换分辨率的算法(zt)(1)在总长度为5米的范围里,平均分布6棵树(或说6个元素),算出每科树(或说每个元素)的间隔?解:每棵树(或说每个元素)应该这样分布:在...
阅读全文
posted @ 2015-08-05 10:48
LeoSanford
阅读(13125)
推荐(0)