码迷,mamicode.com
首页 >  
搜索关键字:network namespace    ( 53294个结果)
Ubuntu下wxWidgets学生信息管理sqlite3(C++)
main.cxx#include #include #include #include using namespace std; int main() { sqlite3* file; int flag; flag = sqlite3_open("./stu.db", &file); if(...
分类:数据库   时间:2014-06-29 14:36:03    阅读次数:254
poj 2632
题意:一个房间由m*n个方块组成 每个机器人占据一个方块 这些机器人能够移动 问 这些机器人的移动动作全部完成后 会不会发生冲撞事件解题策略:简单的模拟题目#include#includeusing namespace std;struct Node{ int x,y; int dir...
分类:其他好文   时间:2014-06-07 06:03:49    阅读次数:205
[算法][求积分][复合辛普森公式]
1 //这里f()为被积函数,输入a,b为积分上下限, 2 //eps为计算精度[这里要注意假收敛,一般设小一点好] 3 #include 4 #include 5 #define eps 1e-6 6 using namespace std; 7 double f(double x){ 8...
分类:其他好文   时间:2014-06-07 05:22:57    阅读次数:239
【Cpp】考点·C++数据抽象
构造函数 自动初始化对象的特殊的成员函数 与所属的类名同名 可以在类中声明并定义构造函数,或在类中声明而在外部定义 可以同时有几个含有不同参数的构造函数,实例化时通过不同参数定义不同的对象 1 #include 2 3 using namespace std; 4 5 class da...
分类:编程语言   时间:2014-05-28 23:57:40    阅读次数:366
soinn
Growing Cell Structures A Self-Organizing Network for Unsupervised and Supervised LearningHere, and throughout the whole paper, △x = y stands for x(ne...
分类:其他好文   时间:2014-05-28 22:46:34    阅读次数:240
重点算法--快速排序
#includeusing namespace std;////写出快速排序,归并排序与堆排序int adjustarray(int a[],int left,int right){ int x = a[left]; while(left x && left < right) righ...
分类:其他好文   时间:2014-05-28 21:32:19    阅读次数:282
(转)linux性能优化总结
感谢博客http://sillycat.iteye.com提供的资料linux性能检查(一)介绍和CPU 通常监控的子系统有: CPU Memory IO Network 应用类型 IO相关,处理大量数据,需要大量内存和存储,频繁IO读写数据,对CPU的要求比较小,大部分时候CPU都在等待硬盘,比如...
分类:系统相关   时间:2014-05-28 20:17:59    阅读次数:666
重点算法--合并排序
#includeusing namespace std; void merge(int left,int mid,int right,int a[],int b[]){ int i = 0; int cursor1 = left; int cursor2 = mid +1; while(cu...
分类:其他好文   时间:2014-05-28 20:09:44    阅读次数:300
CentOS装机必备-基本设置以及缺失文件
主要是虚拟机中安装CentOS每次总会做一些设置,记录下来方便以后。纯粹基本设置,比如本地SecureCRT可以连接虚拟机中的CentOS。复杂的非基本设置见:Linux 命令集锦设置网络自动连接#cat /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOO...
分类:其他好文   时间:2014-05-28 11:51:22    阅读次数:337
jQuery:在一个回调中处理多个请求
我曾经为Mozilla Developer Network开发一个新功能,它需要加载一个基本的脚本文件的同时加载一个JSON请求。因为我们使用的是jQuery,意味着要使用 jQuery.getScript和jQuery.getJSON。我知道这两者都是异步的并返回一个Deferred(jQuery...
分类:Web程序   时间:2014-05-28 11:43:03    阅读次数:318
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!