码迷,mamicode.com
首页 > 其他好文
前端--关于背景、浮动和定位
背景。元素的背景显示区域在内容区和内边距区,并且边框是画在背景之上的。这就是说如果边框的样式是dotted之类的,则边框空隙之间是可以看到背景的。 可以设置背景的声明有:background-color、background-image、background-position、background-...
分类:其他好文   时间:2015-12-30 09:13:51    阅读次数:558
数据结构-顺序栈
1 #include 2 #include 3 using namespace std; 4 5 #define maxSize 30 6 7 typedef struct 8 { 9 int data[maxSize];10 int top;11 }SqStack;12 ...
分类:其他好文   时间:2015-12-30 09:14:58    阅读次数:173
POJ 1330 Nearest Common Ancestors
笔者的离线LCA模板。这里并查集和dfs的使用是个妙招。#include#include#include#define maxv 10005#define maxe 20005#define maxq 105using namespace std;struct edge{ int v,nxt;}e[...
分类:其他好文   时间:2015-12-30 09:12:08    阅读次数:131
豪华版飞机大战系列(六)--附源代码
最后一篇讲一下游戏中的主要逻辑推断,在上面的工作都做充分准备后,游戏主要逻辑将变得特别清晰,接下来你会看到全部的逻辑都是那么的清晰自然,由于前面已经做好了充分的准备工作,这里仅仅是整合了前面的工作,略微增加了一些游戏推断元素。同一时候源代码会在文章最后给出链接地址,源代码托管在github上,全部的...
分类:其他好文   时间:2015-12-30 09:11:23    阅读次数:183
IaaS, PaaS和SaaS
原文链接:http://www.leiphone.com/news/201406/iaas-paas-and-saas.html云服务”现在已经快成了一个家喻户晓的词了。如果你不知道PaaS, IaaS 和SaaS的区别,那么也没啥,因为很多人确实不知道。“云”其实是互联网的一个隐喻,“云计算”其实...
分类:其他好文   时间:2015-12-30 09:11:42    阅读次数:193
Excel图表-创意雷达图-原创图表
数据表及最终的效果:今天发一个本人原创的图表,这个图表如何应用就仁者见仁智者见智;我还为其设置了一些动态效果,半径以及齿高度可以自行调节,首先看下效果和数据。 角度半径1半径2半径3半径4-50.80.80.70.415110.90.6250.80.80.70.445110.90.6550.80.8...
分类:其他好文   时间:2015-12-30 09:12:05    阅读次数:172
如何将编辑框控件"滚动条"一直保持往下滚
用编辑框控件做串口数据的接收,由于编辑框控件的大小有限,当接收到的数据超过框体时,右侧的的滚动条就总往上面。因为数据不断接收,我是希望这滚动条总是向下走。这样做的目的是在编辑框控件上保持显示最新收到的数据。我在网上有查过一些做法,比如在收到新数据后,就把这滚动条总或光标指向编辑框内容的最后面,试了一...
分类:其他好文   时间:2015-12-30 09:11:12    阅读次数:151
2015年终总结
一晃眼间,2015就匆匆走过了。时间如白驹过隙,悄悄从指间溜走。回望这一年,从学生时代走向了社会,也是我从网络转向系统运维的元年。这一年,我选择了离开深圳,独自一人来上海闯荡。从网络方向转行是经过深思熟虑的,以前在学校,只有眼前的一片天,以为网络安全将是未来的..
分类:其他好文   时间:2015-12-30 08:08:28    阅读次数:151
归档日志路径
归档日志路径为LOG_ARCHIVE_DEST指定的路径: SQL> show parameter log_archive_dest;   NAME                                 TYPE        VALUE ------------------------------------ ----------- ------------------...
分类:其他好文   时间:2015-12-30 07:03:25    阅读次数:164
微软开源全新的文档生成工具DocFX
微软放弃Sandcastle有些年头了,微软最近开源了全新的文档生成工具DocFX,目前支持C#和VB,类似JSDoc或Sphinx,可以从源代码中提取注释生成文档之外,而且还有语法支持你加入其他的文件链接到API添加额外的说明,DocFX会扫描你的源代码和附加的文件为你生成一个完整的HTML模版网...
分类:其他好文   时间:2015-12-30 07:03:22    阅读次数:443
LeetCode - Unique Paths
题目:A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any...
分类:其他好文   时间:2015-12-30 07:00:11    阅读次数:151
stl vector
初始化vector chars(26, 0); // initialized as 26 zeros
分类:其他好文   时间:2015-12-30 07:00:50    阅读次数:138
LeetCode - Valid Number
题目:Validate if a given string is numeric. Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => trueNote: It is intended fo...
分类:其他好文   时间:2015-12-30 07:00:07    阅读次数:150
LeetCode - Unique Paths II
题目:Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty spac...
分类:其他好文   时间:2015-12-30 07:01:46    阅读次数:208
Leetcode: Additive Number
Additive number is a string whose digits can form additive sequence.A valid additive sequence should contain at least three numbers. Except for the fi...
分类:其他好文   时间:2015-12-30 06:59:18    阅读次数:224
stl map
遍历mapit->first it->second#include#include#includeint main(){map words;map::iterator it=words.begin();for(;it!=words.end();++it) coutfirst ...
分类:其他好文   时间:2015-12-30 07:01:53    阅读次数:247
LeetCode - Minimum Path Sum
题目:Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its pat...
分类:其他好文   时间:2015-12-30 06:58:46    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!