码迷,mamicode.com
首页 >  
搜索关键字:comment    ( 4550个结果
Mongodb中修改一条记录
第一步:打开cmd,运行mongo.exe第二步:引用需要加载的数据库 use 数据库名 //如果数据库名不存在,mongodb会自动建立数据库第三步:赋值创建一个文档对象 post.Comment=[];第四步:提交插入文档 db.表名.update({_id:ObjectId("ef2dasfs...
分类:数据库   时间:2014-08-19 16:24:54    阅读次数:286
POJ 2451 Uyuw's Concert(半平面交nlgn)
//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #include #include #include #include #include #define ll long...
分类:其他好文   时间:2014-08-19 12:28:14    阅读次数:261
ZOJ 1450 Minimal Circle 最小圆覆盖
套了个模板直接上,貌似没有随机化序列 QAQ//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #include #include #include #include #i...
分类:其他好文   时间:2014-08-18 21:42:12    阅读次数:210
POJ 1279 Art Gallery 半平面交求多边形核
第一道半平面交,只会写N^2。将每条边化作一个不等式,ax+by+c>0,所以要固定顺序,方便求解。半平面交其实就是对一系列的不等式组进行求解可行解。如果某点在直线右侧,说明那个点在区域内,否则出现在左边,就可能会有交点,将交点求出加入。//#pragma comment(linker, "/STA...
分类:其他好文   时间:2014-08-18 18:09:02    阅读次数:226
hdu3849 By Recognizing These Guys, We Find Social Networks Useful
无向图求桥边数量,按照题目输入顺序输出桥边。 注意存的brig和边的对应关系。 #include #include #include #include #include #include #include #include #include #include #define inf 0x3f3f3f3f #pragma comment(linker, "/STACK...
分类:Web程序   时间:2014-08-18 16:21:02    阅读次数:229
sql的注释和联合主键
1.添加注释的sqlcomment on table tableName is '表注释';comment on column tableName.columnName is '字段注释说明';comment on table t_cif_ehrlog is 'ehr同步日志表';comment o...
分类:数据库   时间:2014-08-18 12:00:34    阅读次数:215
使用WindowsAPI获取录音音频
严禁转载介绍使用winmm.h进行音频流的获取首先需要包含以下引用对象#include #include "mmsystem.h"#pragma comment(lib, "winmm.lib")音频的获取需要调用7个函数1. waveInGetNumDevs:返回系统中就绪的波形声音输入设备的数量...
分类:Windows程序   时间:2014-08-17 15:27:52    阅读次数:361
HDU 2222 Keyword Search AC自动机模板
#include #include #include #include #include #include #include #include #include #include #include #pragma comment(linker, "/STACK:1024000000"); #define EPS (1e-6) #define LL long long #de...
分类:其他好文   时间:2014-08-16 19:48:41    阅读次数:239
DOM commend
var comment = document.createComment("commend content"); var elem = document.getElementById("someElement"); elem.appendChild(comment); ...
分类:其他好文   时间:2014-08-16 18:23:40    阅读次数:157
MFC和Direct3D9一起使用
第一步:新建MFC单文档项目,向导如下:第二步:添加引用,在项目属性的VC++目录中修改Include和lib文件夹。第三步:在stdafx.h文件Include部分的最后添加如下引用。#include "d3d9.h"#pragma comment(lib,"d3d9.lib")#pragma c...
分类:其他好文   时间:2014-08-15 14:17:29    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!