码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
自己写个list玩玩
/*如果采用单向链表,end()函数如何表示? *所以必须得采用循环链表的方式? * */ #ifndef LIST #define LIST #include using namespace std; //声明 template struct Node{ T data; struct Node* next; Node(struct Node* p):data(p->data...
分类:其他好文   时间:2015-06-15 18:54:37    阅读次数:112
scu oj 4445 Right turn 2015年四川省赛J题(模拟题)
一般的模拟题。对于出现过的每一个x建立一个set 集合,对于y也如此。然后查找要走到哪个点即可,主要要对状态记录,判断是否无线循环,否者出现无线循环的情况,就tle了。 #include #include #include #include #include #include #include #include #include #include using namespace std; con...
分类:其他好文   时间:2015-06-15 18:45:08    阅读次数:150
钩子程序利用ManuResetEvent同步控制线程
这个程序主要还是靠钩子实现,然后利用manuResetEvent同步控制关机线程 。关机线程用重定向实现using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using ...
分类:编程语言   时间:2015-06-15 18:38:39    阅读次数:112
多线程测试并发
主要代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.T...
分类:编程语言   时间:2015-06-15 18:35:05    阅读次数:134
grid搜索最优参数
GridSearchCV详细地址:http://scikit-learn.org/stable/modules/generated/sklearn.grid_search.GridSearchCV.html#examples-using-sklearn-grid-search-gridsearchc...
分类:其他好文   时间:2015-06-15 18:27:57    阅读次数:269
C#中一道关于线程同步的练习题——模拟多窗口售票
题目:模拟窗口卖票,四个窗口同时对外开放售票,需要按顺序售出。要求:输出每一张票的售出时间和售出窗口,不能出现票未售出或者被售出多次的情况。using System;using System.Collections.Generic;using System.Linq;using System.Tex...
分类:编程语言   时间:2015-06-15 18:27:03    阅读次数:187
c# tcplistener 与 client通信 服务端 今天写一下
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Net;using System.Net.Sockets;using System.Runtime.Compile...
分类:Windows程序   时间:2015-06-15 18:08:10    阅读次数:165
c++语言的输入输出流库
1.c++语言标准输入输出流控制符的用法#include #include using namespace std;int main(){ int x=30,y=300,z=1024; cout#include using namespace std;int main(){ int...
分类:编程语言   时间:2015-06-15 17:58:58    阅读次数:166
ios开发学习之常用的各种排序算法
//常用的排序算法#include using namespace std;typedef int ElemType;/*1、插入排序(1)直接插入排序算法算法思想:将等排序列划分为有序与无序两部分,然后再依次将无序部分插入到已经有序的部分,最后就可以形成有序序列。操作步骤如下:1)查找出元素L(i...
分类:移动开发   时间:2015-06-15 16:07:50    阅读次数:110
找不到ConfigurationManager
第一次写C#,在命名空间中已经使用了using System.Configuration;但是使用Configuration时却无法使用,找到的解决方法是:在解决方案资源管理器中,右击“引用”,“添加引用”,把“System.Configuration”添加进来就可以了。问题:为什么using Sy...
分类:其他好文   时间:2015-06-15 16:06:05    阅读次数:135
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!