码迷,mamicode.com
首页 >  
搜索关键字:struct enum    ( 22969个结果
OpenCV学习(6)--更多形态转化、Hit-or-Miss变换、Hit-or-Miss变换、图像金字塔
OpenCV更多形态转化:开盘、闭幕、形态梯度、顶帽、黑帽 1 static class MorphologyOperationsExample { 2 // OpenCV更多的形态转化 3 /* 4 开盘: 5 先侵蚀 后扩张 dst = open(src, element) = dilate(e ...
分类:其他好文   时间:2020-10-07 21:39:06    阅读次数:46
C语言实现天气信息管理系统
这篇文章主要介绍了C语言实现天气信息管理系统,文中示例代码介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们可以参考一下 本文实例为大家分享了C语言实现天气信息管理系统的具体代码,供大家参考,具体内容如下 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 ...
分类:编程语言   时间:2020-10-07 21:23:14    阅读次数:40
可变长度结构体
// // Created by liu on 2020/10/7. // #include <stdint.h> #include <stdlib.h> #include <string.h> #include <stdio.h>struct Node { int id; int *data; } ...
分类:其他好文   时间:2020-10-07 21:19:07    阅读次数:30
21. 合并两个有序链表(Leetcode)
题目: 将两个升序链表合并为一个新的 升序 链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *nex ...
分类:其他好文   时间:2020-10-07 20:36:35    阅读次数:21
浙江大学数据结构习题:02-线性结构1 两个有序链表序列的合并 (15分)
02-线性结构1 两个有序链表序列的合并 (15分) 本题要求实现一个函数,将两个链表表示的递增整数序列合并为一个非递减的整数序列。 函数接口定义: List Merge( List L1, List L2 ); 其中List结构定义如下: typedef struct Node *PtrToNod ...
分类:其他好文   时间:2020-10-07 20:31:41    阅读次数:20
1360 奇怪的电梯(lift)
#include<bits/stdc++.h> using namespace std; struct dt{ int cs,bs; }que[210]; int n,a,b,ans=-1; int yd[205]; int book[205]; int f,r; bool fs=false; vo ...
分类:其他好文   时间:2020-10-07 20:27:24    阅读次数:30
IGMPv3报文解析
通过使用Python struct库来解析IGMPv3报文 struct模块中的函数 函数 return explain pack(fmt,v1,v2…) string 按照给定的格式(fmt),把数据转换成字符串(字节流),并将该字符串返回. pack_into(fmt,buffer,offset ...
分类:其他好文   时间:2020-10-06 21:03:42    阅读次数:59
P1550 [USACO08OCT]Watering Hole G
Miku 我们只需要一个额外的点代表水库 #include<iostream> #include<cstdio> #include<algorithm> using namespace std; int head[400]; int n; int w[400]; int x,y,z; struct ...
分类:其他好文   时间:2020-10-06 20:27:46    阅读次数:26
学习的第一个C++,通讯录管理系统
#include <iostream> #include <string> #define MAX 500 using namespace std; struct person { string name; int age; }; struct contact { person persons[MA ...
分类:编程语言   时间:2020-10-05 22:33:17    阅读次数:48
PHP socket 接收 java端口 netty 网络字节序
java 服务端测试代码: @Override public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception { buffer.writeShort(5); buff ...
分类:编程语言   时间:2020-10-05 21:23:34    阅读次数:42
22969条   上一页 1 ... 46 47 48 49 50 ... 2297 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!