摘要:
【项目1-三角形类的构造函数】 设计三角形类,通过添加构造函数。使对象在定义时可以进行初始化,可以由以下的类声明開始,须要自己实现相关的成员函数。以及添加要求的构造函数 class Triangle { public: double perimeter();//计算三角形的周长 double are 阅读全文
posted @ 2017-05-14 15:43
cxchanpin
阅读(371)
评论(0)
推荐(0)
摘要:
之所以做了这么一个Demo,是由于近期项目中有一个奇葩的需求:用户拍摄照片后,分享到微信的同一时候加入备注,想获取用户在微信的弹出框输入的内容。保存在自己的server上。而其实,这个内容程序是无法获取的,因此採取了一个折衷方案,将文字直接写在图片上。 首先上Demo效果图: 功能: 1.用户自由输 阅读全文
posted @ 2017-05-14 15:41
cxchanpin
阅读(597)
评论(0)
推荐(0)
摘要:
transition-duration这个參数是设置过渡时间的,将transition-duration放在哪个类中。那么在这个类被启用时就会依照transition-duration设定的时间来过渡。 比如。有类 .a 和 .a:hover 1.假设仅仅在 .a 中设定transition-dur 阅读全文
posted @ 2017-05-14 15:41
cxchanpin
阅读(2366)
评论(0)
推荐(0)
摘要:
POJ 1719 Shooting Contest 题目链接 题意:给定一个矩阵,每列有两个白点。其它都是黑点,如今要求每列选一个白点,使得每一行至少包括一个白点被选中 思路:二分图匹配,白点的位置行列建边,然后跑匹配,假设匹配数不等于行数,就是是无解。然后输出方案的时候注意,假设有位置是没匹配的, 阅读全文
posted @ 2017-05-14 15:36
cxchanpin
阅读(168)
评论(0)
推荐(0)
摘要:
本文转自:http://www.topeetboard.com iTOP-4412核心板使用的电源管理芯片是三星专门针对4412研发的S5M8767,8767提供9路BUCK和28路LDO输出。每路电压的大小能够通过 软件进行设置。S5M8767的驱动位于内核drivers/regulator/s5 阅读全文
posted @ 2017-05-14 15:35
cxchanpin
阅读(553)
评论(0)
推荐(0)
摘要:
mac上面安装了最新的virtualbox,有些软件还是须要windows的。 1,在设置了共享之后,仍然不能使用 不能共享 2,找了半天发现须要windows安装 VBoxGuestAdditions_4.3.8.iso http://download.virtualbox.org/virtual 阅读全文
posted @ 2017-05-14 15:34
cxchanpin
阅读(256)
评论(0)
推荐(0)
摘要:
List<InvestInfoDO> invest = advertiseDao6.qryInvestInfo(InvestInfoDO1); 怎样获得List的实体类呢,就是怎样获得InvestInfoDO。方式是invest.get(0)就能够啦。 获得属性呢。invest.get(0).get 阅读全文
posted @ 2017-05-14 15:32
cxchanpin
阅读(190)
评论(0)
推荐(0)
摘要:
Description The army of United Nations launched a new wave of air strikes on terroristforces. The objective of the mission is to reduce enemy's logist 阅读全文
posted @ 2017-05-14 13:51
cxchanpin
阅读(147)
评论(0)
推荐(0)
摘要:
面试题之中的一个。 s=[ {"name":"Axx","score":"90"}, {"name":"Bxx","score":"91"}, {"name":"Cxx","score":"20"}, ] 请用一行代码对上述list,依照score排序。 s=[ {"name":"Axx","sco 阅读全文
posted @ 2017-05-14 13:09
cxchanpin
阅读(294)
评论(0)
推荐(0)
摘要:
<1> js或者jQuery訪问页面中的框架iframe. 注意:框架内的页面是不能跨域的! 如果有两个页面,在同样域下. 如果:父窗体 index.html ,有id 为 subifrm 的iframe 1. 在index.html运行JS直接訪问子窗体中某元素: document.getElem 阅读全文
posted @ 2017-05-14 11:56
cxchanpin
阅读(626)
评论(0)
推荐(0)
浙公网安备 33010602011771号