码迷,mamicode.com
首页 >  
搜索关键字:comment    ( 4550个结果
[VC]Windows下C语言的Socket编程例子(TCP和UDP)
这是一个简单的Socket程序例子,开发环境是vc6:新建工程win32-控制台程序首先是TCPserver端:#include"stdafx.h"#include<stdio.h>#include<winsock2.h>#pragmacomment(lib,"ws2_32.lib")intmain(intargc,char*argv[]){//初始化WSAWORDsockVersion=MAKEWORD(2,2);..
分类:编程语言   时间:2015-04-19 06:41:17    阅读次数:281
OJ技巧
防爆盾:#pragma comment(linker,"/QUEUE:10240000,10240000")#pragma comment(linker,"/STACK:10240000,10240000")
分类:其他好文   时间:2015-04-18 20:21:56    阅读次数:94
Comment Only What the Code Cannot Say
Code in the Language of the DomainDan NorthPiCTURE TWO CODEBASES. In one, you come across: if (portfolioIdsByTraderId.get(trader.getId()) .containsKey(portfolio.getId())) {...}You scratch your...
分类:其他好文   时间:2015-04-18 17:51:48    阅读次数:116
IOCP 模型1
// IOCP.cpp : Defines the entry point for the console application.////#include "stdafx.h"#include #include #include #pragma comment(lib, "WS2_32.lib")...
分类:其他好文   时间:2015-04-17 15:26:12    阅读次数:211
IOCP 模型2 AcceptEx
// IOCP2.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include #pragma comment(lib, "WS2_...
分类:其他好文   时间:2015-04-17 15:13:45    阅读次数:153
phpcms 内容——>评论管理 中添加 打开文章链接的 功能
需要实现的功能:在后台管理系统中的内容 下的——>评论管理 中添加 打开文章链接的 功能1.数据库表是 v9_comment和v9_comment_data_1.v9_comment是被评论文章的信息。id,title,url等。主要是url是文章的链接phpcms 把文章的链接是记录到数据库里面的...
分类:Web程序   时间:2015-04-17 11:04:28    阅读次数:131
ASC2 C Hyperhuffman 优先队列
题意:给你一个序列 ,让你求这个序列组成哈夫曼树的 WPL解题思路:优先队列直接搞。因为数太大,用了非递归求解。解题代码: 1 #pragma comment(linker, "/STACK:1024000000,1024000000") 2 // File Name: c.cpp 3 // Aut...
分类:其他好文   时间:2015-04-15 00:47:57    阅读次数:178
git版本回退
查看日志$ git log commit 81fe2587c1018b93d7016f69f52f532e903b780f Author: Jdoing Date: Mon Apr 13 21:31:47 2015 +0800 add some comment to readme.txt filecommit 28647342369fc48cde705...
分类:其他好文   时间:2015-04-14 19:50:58    阅读次数:137
linux kernel Kconfig warning: leading whitespace ignored
自己在测试往内核添加模块时,用 make menuconfig 配置 结果警告如下: 原因是这个测试的Kconfig文件中的 comment值前有空格,如下: 去掉这个空格就好了,实际上,menu 的值如果前面有空格,也会报这个警告。...
分类:系统相关   时间:2015-04-14 19:48:37    阅读次数:213
JavaScript DOM进阶方法
一DOM类型类型名说明Node表示所有类型值的统一接口,IE不支持;Document表示文档类型;Element表示元素节点类型;Text表示文本节点类型;Comment表示文档中的注释类型;CDATASection表示CDATA区域类型;DocumentType表示文档声明类型;DocumentFragment表示文档片段类型;Attr表示属性节..
分类:编程语言   时间:2015-04-13 21:08:29    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!