摘要: 数学解决方法: 多边形外选取一点,连接各点构成三角形,计算求和...... 详细链接 http://blog.csdn.net/hemmingway/article/details/7814494 已知三角形三边长,求三角形面积 >海伦公式 链接:http://www.zybang.com/ques 阅读全文
posted @ 2017-02-10 00:20 elliottc 阅读(9035) 评论(1) 推荐(0) 编辑
摘要: 1 #include<windows.h> 2 #include"resource.h" 3 #include<stdlib.h> 4 #include<time.h> 5 #include<stdio.h> 6 7 #define TIMER_DIREN 101 //定义定时器 8 #define 阅读全文
posted @ 2016-02-28 20:30 elliottc 阅读(4531) 评论(1) 推荐(0) 编辑
摘要: 201701261107 阅读全文
posted @ 2016-02-28 12:49 elliottc 阅读(120) 评论(0) 推荐(0) 编辑
摘要: class T(): def aa(self): write = 1 print '123' class B(): def hehe(self): print write c = B() c.hehe() a = T()a.aa() 输出: 123 1 阅读全文
posted @ 2016-02-07 13:16 elliottc 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 本次实验内容: 排序实验实验目的:掌握用汇编语言编写气泡排序程序的思路和方法。实验内容: 使用DEBUG程序,从首地址1000H的内存区开始存放50个数,要求设计程序将这些数由小到大排序,排序后的数,仍放在该区域中。代码: DATAS SEGMENT STRING1 DB 0DH,0AH... 阅读全文
posted @ 2015-12-17 16:14 elliottc 阅读(1797) 评论(0) 推荐(0) 编辑
摘要: from bs4 import BeautifulSoupimport urllib2import urllibimport reimport urlparseparam = raw_input('Please input what your want search')# www.baidu.c... 阅读全文
posted @ 2015-12-06 21:13 elliottc 阅读(266) 评论(0) 推荐(0) 编辑
摘要: layout: activity_main.xml 1 2 6 7 9 16 17 19 26 32 33 35 42 48 54 ... 阅读全文
posted @ 2015-12-02 16:03 elliottc 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 1 from sys import argv 2 from os import makedirs,unlink,sep,mkdir 3 from os.path import dirname,exists,isdir,splitext 4 from string import replac... 阅读全文
posted @ 2015-11-08 19:59 elliottc 阅读(2386) 评论(0) 推荐(0) 编辑
摘要: 主题客户端/服务器架构套接字:通信终点套接字地址面向连接与无连接套接字Python中的网络编程SOCKET模块套接字对象方法TCP/IP客户端和服务器UDP/IP客户端和服务器SocketServer模块Twisted框架介绍相关模块1.客户端服务器架构 客户INTERNET服务器。客户连上一个预... 阅读全文
posted @ 2015-10-25 18:38 elliottc 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 域名系统(DNS) 是一个分布式的数据库,它主要用来把主机名转换成IP地址。DNS以及相关系统之所以存在,主要有以下两个原因:它们可以使人们比较容易地记住名字,如www.baidu.com。它们允许服务器改变IP地址,但是还用同样的名字。作为一个例子,让我们看一下查询 www.baidu.com ... 阅读全文
posted @ 2015-09-27 21:05 elliottc 阅读(302) 评论(0) 推荐(0) 编辑