码迷,mamicode.com
首页 >  
搜索关键字:include    ( 84546个结果
实验5.1
#include <bits/stdc++.h> #include "opencv2/core.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/video.hpp" #include "opencv2/objdetect.hpp" #inc ...
分类:其他好文   时间:2020-11-02 10:01:48    阅读次数:21
链表相关内容
#include <iostream> typedef struct node { int nVal; node* pNext; node(int val) : nVal(val), pNext(nullptr) {} }; // create node* create_link(int nNode ...
分类:其他好文   时间:2020-11-02 09:58:50    阅读次数:18
Dicom多帧影像的单帧提取功能的实现
Dicom 多帧影像一般都比较大,全部读取的话对内存的要求很高,而且效率很低,所以在这种情况下需要一个单帧提取的方式。这里分别介绍DCMTK和GDCM的单帧提取的方式: DCMTK: #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmimgl ...
分类:其他好文   时间:2020-11-02 09:56:44    阅读次数:25
C++入门--继承
举例: 1 #include <iostream> 2 3 class CPerson { 4 public: 5 CPerson() {} 6 ~CPerson() {} 7 //获取性别 8 int GetGender() { 9 return m_nGender; 10 } 11 //设置性别 ...
分类:编程语言   时间:2020-11-02 09:53:37    阅读次数:22
【GMOJ6805】模拟speike
题目 题目链接:https://gmoj.net/senior/#main/show/6805 众所周知,Speike 狗是一条特别喜欢追着 Tom 打的狗。 现在,Tom 又把 Speike 惹生气了,现在 Speike 需要跨越千山万水找 Tom 报仇。 Speike 所在的世界可以看成是一个无 ...
分类:其他好文   时间:2020-11-02 09:43:24    阅读次数:17
实验2
实验结果: ex1: 1 #include <stdio.h> 2 int main() { 3 int a=5, b=7, c=100, d, e, f; 4 5 d = a/b*c; 6 e = a*c/b; 7 f = c/b*a; 8 9 printf("d=%d, e=%d, f=%d\n ...
分类:其他好文   时间:2020-11-01 22:18:22    阅读次数:14
实验2
任务1 //ex1.cpp #include<stdio.h> int main(){ int a=5, b=7, c=100, d, e, f; d=a/b*c; e=a*c/b; f=c/b*a; printf("d=%d, e=%d, f=%d",d,e,f); return 0; } d=5 ...
分类:其他好文   时间:2020-11-01 22:08:49    阅读次数:15
二叉树的非递归遍历
#include<stdio.h> #include<string.h> #include<stdlib.h> 1、提供一个顺序存储的栈 #define max 1024 struct sstack { void * data[max]; //栈的数组 int m_size; //栈大小 }; ty ...
分类:其他好文   时间:2020-11-01 22:08:22    阅读次数:16
数组的应用—顺序表简化版.cpp
#include <stdio.h> #include <stdlib.h> //数组的应用:顺序表【线性表的一种存储方式】 struct Arr { int * pBase; //保存首地址 int len; //数组的总长度 int cet; //cet: current efficient(当 ...
分类:编程语言   时间:2020-11-01 22:05:49    阅读次数:23
《51nod1237 最大公约数之和 V3》
好题: #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N = 5e6 + 5; const LL Mod = 1e9 + 7; #define INF 1e9 #define dbg(x) c ...
分类:其他好文   时间:2020-11-01 22:04:43    阅读次数:23
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!