码迷,mamicode.com
首页 >  
搜索关键字:typedef struct    ( 24378个结果
c# 播放器 支持所有格式
---恢复内容开始---直接上代码internal static class LibVlcAPI { internal struct PointerToArrayOfPointerHelper { [MarshalAs(UnmanagedTyp...
分类:其他好文   时间:2014-05-01 10:26:29    阅读次数:317
hdu 1233 还是畅通工程
简单最小生成树,继续我的kruskal#include#include#include#includeusing namespace std;const int MAX=1000000;struct node{ int left,right,cost;}road[MAX];bool cmp(n...
分类:其他好文   时间:2014-05-01 09:28:42    阅读次数:333
c# 播放器 支持所有格式
---恢复内容开始---直接上代码internal static class LibVlcAPI { internal struct PointerToArrayOfPointerHelper { [MarshalAs(UnmanagedTyp...
分类:其他好文   时间:2014-05-01 07:20:23    阅读次数:427
linux多线程示例
1 #include 2 #include 3 #include 4 #include 5 6 typedef void* (*fun)(void*); 7 8 fun fun1, fun2; 9 10 pthread_mutex_t pmu = PTHREAD_MUTEX_INITI...
分类:编程语言   时间:2014-05-01 06:36:02    阅读次数:427
c# 播放器 支持所有格式
---恢复内容开始---直接上代码internal static class LibVlcAPI { internal struct PointerToArrayOfPointerHelper { [MarshalAs(UnmanagedTyp...
分类:其他好文   时间:2014-05-01 05:39:37    阅读次数:250
c# 播放器 支持所有格式
---恢复内容开始---直接上代码internal static class LibVlcAPI { internal struct PointerToArrayOfPointerHelper { [MarshalAs(UnmanagedTyp...
分类:其他好文   时间:2014-05-01 04:00:03    阅读次数:368
uva 11988 这题可以看出c++中string效率的底下
用c语言实现 #include #include #include using namespace std; typedef struct node { char x; struct node *next; }chan; chan *root = new chan; char a[100010]; int main() { while(scanf("%...
分类:编程语言   时间:2014-04-29 13:47:20    阅读次数:358
最新版dlx模板(精确覆盖+重复覆盖)
以前的代码太挫了,重新整理dlx,学习HH把精确覆盖,重复覆盖整合在一起。 代码: struct DLX{ const static int maxn=20010; #define FF(i,A,s) for(int i = A[s];i != s;i = A[i]) int L[maxn],R[maxn],U[maxn],D[maxn]; int size,c...
分类:其他好文   时间:2014-04-29 13:43:20    阅读次数:370
wustoj 1318 区间的连通性 (最短路)
floyd求最短路。 注意图是有向图。。。 #include #include #include using namespace std; struct node { int x,y,id; }edge[205]; int dis[205][205]; int main() { int c,T,n,a,b,op; while(scanf("%d",&T...
分类:其他好文   时间:2014-04-29 13:21:23    阅读次数:313
set容器的实现
set容器是以红黑树容器为基础实现的,在其基础上稍加改变接口即可 #ifndef MY_SET_H_INCLUDED #define MY_SET_H_INCLUDED #include"my_rb_tree.h" namespace juine { template struct identity { const T& operator()(cons...
分类:其他好文   时间:2014-04-29 13:16:20    阅读次数:376
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!