最近学习了一个编程环境,感觉到非常方便,分享给大家。之前的几篇笔记都是通过Xshell工具远程登录开发板,在开发板上进行代码的编写,编译运行。好处就是对于初学者来说不需要搭建太多的开发环境,不好的地方,Linux自带的VIM编辑器是没有语法高亮的,代码量比较多的时候,用起来不是很方便。根据网上一些点...
分类:
系统相关 时间:
2015-03-08 09:17:02
阅读次数:
283
.black_overlay{ display: none;/*不显示,隐藏*/ position: absolute;/*绝对定位*/ top: 0%;/*距顶部0%[贴紧top]*/ left: 0%;/*距左侧0%[贴紧left]*/ width: 100%;/*宽度100%*/ height...
分类:
Web程序 时间:
2015-03-07 21:16:36
阅读次数:
179
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decreasing order, a new number can be obtained by takin...
分类:
其他好文 时间:
2015-03-07 17:11:22
阅读次数:
124
<html>
<script?type="text/javascript"?src="jquery.js"></script>
<style>
.d_b{
height:?20px;
width:?10px;
display:?inline-block;
background-color:?black;
position:?relative;
vertical-a...
分类:
Web程序 时间:
2015-03-06 20:50:45
阅读次数:
274
Q:我见过一种设计,在数据库里面有一张用户关系表,表结构如下CREATE TABLE relation (relation_id private key AUTO_INCREMENT,//关系idrelation_fans text,//粉丝数据relation_black text,//黑名单数据...
分类:
Web程序 时间:
2015-03-06 20:36:08
阅读次数:
202
Ubuntu安装办法
ToinstallonUbuntuorDebian,usingthepackagemanager,use:sudoapt-getinstallphp5-imagicksudoserviceapache2reload
Windows安装参考:如果有一项为x86,所有组件都要使用x86
使用版本ImageMagick-6.8.1-9-Q16-x86-dll.exe
php_imagick-3.2.0RC1-5.4-ts-vc9-..
#include#includeusing namespace std;const int AIM=6174;int n;int arr[4];bool NonIncreasingOrder(int a,int b){ return a>b;}bool NonDecreasingOrder(int....
分类:
其他好文 时间:
2015-03-05 20:59:09
阅读次数:
156
(1)阅读教材7.3节,了解枚举类型的一般用法。阅读下面输出He先生买车方案的程序,理解使用枚举类型的意义。
#include
using namespace std;
enum Color {red,black,white};
enum Brand {lavida,tiggo,skoda};
int main( )
{
int color,brand;
for(color=red; ...
分类:
其他好文 时间:
2015-03-05 19:36:29
阅读次数:
106
查找所有div下的p元素.....$("div>p");设置页面背景色.........$(document.body).css("background","black");隐藏一个表单中所有元素..........$(myForm.elements).hide();>>>>>>>>>在文档的第一个...
分类:
Web程序 时间:
2015-03-05 12:27:14
阅读次数:
137
一个简单的JS游戏,需要jquery插件,是根据Floyd的打飞机游戏进行了一些简化和修改,界面比较丑陋,添加些素材就好看多啦,比如加个背景图片,子弹换成各种礼物图片,黄色板砖换成礼物篮等等,编码闲暇之余用来放松还是不错的。
飞机接子弹
#panel{height:400px;width:300px;background:Black;position:absolute;lef...
分类:
编程语言 时间:
2015-03-05 10:51:27
阅读次数:
157