Plugin 8th:tpope/vim-commentaryHelp me comment a code, I tested it support C++,vim. so it will support a lot of lang.How to use:Use gcc to comment out...
分类:
系统相关 时间:
2015-06-19 16:37:59
阅读次数:
133
#include
#include
using namespace std;
extern "C" int ConvertComment(FILE *inputfile, FILE *outputfile);
#define UL unsigned long
typedef enum
{
NO_COMMENT_STATE,
C_COMMENT_STATE,
CPP_COMMENT_ST...
分类:
其他好文 时间:
2015-06-19 15:25:23
阅读次数:
130
图像反转:灰度图像范围为[0,L-1]的图像反转,表达式s=L-1-r;用这种方式倒转图像的强度,可产生图像反转的对等图像。
# include
#include
#include
#include "cv.h"
#include "highgui.h"
#pragma comment(lib, "cv.lib")
#pragma comment(lib, "cxcore.lib")...
分类:
其他好文 时间:
2015-06-19 15:22:54
阅读次数:
170
#include #include #include #define MAXSIZE 1024#pragma comment(lib, "Wininet.lib")void urlopen(TCHAR*);int main(int argc, TCHAR* argv[]){TCHAR ch[] = ...
分类:
Web程序 时间:
2015-06-17 14:41:23
阅读次数:
159
1)动态修改mysql已经存在的字段长度 alter table 表名 modify column 字段名 varchar(数量);2)动态增加表的字段 alter table comment add column gid varchar(20);3)更改密码: use mysql UPDA...
分类:
数据库 时间:
2015-06-13 20:06:47
阅读次数:
200
了解#号在python中的注释作用,并且熟练的运用# A comment, this is so you can read your program later.# Anything after the # is ignored by pythonprint "I could hava code l...
分类:
编程语言 时间:
2015-06-13 18:27:42
阅读次数:
155
转自:http://wenku.baidu.com/view/2a54e7892cc58bd63186bd8f.html在MySQL数据库中,字段或列的注释是用属性comment来添加。创建新表的脚本中,可在字段定义脚本中添加comment属性来添加注释。示例代码如下:createtabletest...
分类:
数据库 时间:
2015-06-13 11:09:02
阅读次数:
197
自定义调用 ecshop分页代码原文出处:http://blog.sina.com.cn/s/blog_6479ae370100hsq6.htmlfunction get_comments($num,$start){$sql =" SELECT * FROM ecs_comment WHERE st...
分类:
其他好文 时间:
2015-06-12 19:17:24
阅读次数:
341
1、sql主表CREATE TABLE `account_group` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) DEFAULT NULL COMMENT '公众号分组', `count` int(11) DEFAUL...
分类:
其他好文 时间:
2015-06-12 19:17:11
阅读次数:
132
:target是CSS3 中新增的一个伪类,用以匹配当前页面的URI中某个标志符的目标元素(比如说当前页面URL下添加#comment就会定位到id=“comment”的位置,俗称锚)。CSS3 为这个动作赋予了更加多的功能——就如同:hover一样你可以做一些样式定义。先上效果图正如标题所说,本文...
分类:
Web程序 时间:
2015-06-12 10:01:17
阅读次数:
234