码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
boost_asio学习笔记[2] - 客户端异步通讯
使用boost::asio实现客户端的异步通讯访问pop3服务器。 #include?<iostream> #include?<boost/asio.hpp> #include?<boost/bind.hpp> using?namespace?std; using?boost::asio::ip::tcp; #define?MAIL_SE...
分类:其他好文   时间:2015-06-22 06:31:59    阅读次数:124
冒泡---插入---希尔排序
#include using namespace std; #define MAXSIZE 21 typedef int SqList[MAXSIZE]; #define ElementType int void Swap(int &a, int &b) { a = a^b; b = a^b; a = a^b; } ///////////...
分类:编程语言   时间:2015-06-22 01:14:46    阅读次数:162
Json判断文本框的值是否在数据库已存在
//署名:冯兵//本人第一次写博客,如有何不对的地方,请指出,还望请多多见谅,或还有更简单的方法,望大神指教,谢谢!//表单@using (Html.BeginForm("StockItemsIns", "StockItems", FormMethod.Post, new { id = "searc...
分类:数据库   时间:2015-06-22 01:07:19    阅读次数:291
STL之vector详解
一、vector容器的自增长 首先,我们知道vector容器是由数组做出来的;它具备了数组的优缺点.数组的优点: 操作数据,读取速度很快,因为有下标;数组的缺点: 分配之后不能在改变大小; 1 #include 2 #include 3 4 using namespace std; 5 ...
分类:其他好文   时间:2015-06-21 23:41:16    阅读次数:146
mooc C#推方块代码
推方块小游戏 很有意思的小游戏 mooc 有代码 我还是自己打了一遍 熟悉下C# 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; ...
分类:Windows程序   时间:2015-06-21 23:41:06    阅读次数:274
netMVC 搭建Ucenter 同步登陆退出discuz
先看一下效果首先准备材料:1.ucenter for net :https://github.com/dozer47528/UCenter-API-For-DotNet or http://pan.baidu.com/s/1i3znQV72.uc.ashx 下面是具体代码using DS.Web.U...
分类:Web程序   时间:2015-06-21 19:45:41    阅读次数:190
poj 3836 P2P File Sharing System
这题是一个模拟p2p的网络的一个题目。题意比较繁琐,只要看懂课,细心一点就很好AC了。直接上代码了,存模拟。 #include #include #include #include #include #include #include #include #include #include using namespace std; const int inf = 0x3fffffff; cons...
分类:其他好文   时间:2015-06-21 18:39:48    阅读次数:161
HDU 2940 Hex Factorial (简单高精度)
题意:求一n!的16进制表示的0的个数。 高精度模拟,或者直接java即可。这里可以给一个高精度模板。 #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; const in...
分类:其他好文   时间:2015-06-21 18:39:45    阅读次数:104
HDU 2424-Gary's Calculator
表达式求值。 手动模拟吧。可以用站维护,这里我没用到栈来写。注意不能gets()  输入有换行。 还要用到高精度,套一个模板。 #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace st...
分类:其他好文   时间:2015-06-21 18:39:42    阅读次数:157
第十五周 阅读项目 二进制文件读取
/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:d.cpp *作 者:张旺华 *完成日期:2015年6月3日 *版 本 号:v1.0 */ #include #include #include using namespace std; int main( ) { int a; ofstre...
分类:其他好文   时间:2015-06-21 18:38:42    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!