码迷,mamicode.com
首页 >  
搜索关键字:typedef struct    ( 24378个结果
线程中的信号量
首部 信号量 创建初始化 #include <semaphore.h> int sem_init(sem_t *sem, int pshared, unsigned int value); Link with -pthread. 入口: sem 带初始化的信号量的地址 pshared 线程-0 进程 ...
分类:编程语言   时间:2021-01-13 11:22:38    阅读次数:0
SQL 基础
SQL基础篇 这里的SQL语句执行的场景都是MYSQL数据库,其他数据库会略有差异。 一、什么是SQL? SQL是Structured Query Langusge(结构化查询语言)的缩写。SQL是一种专门用来与数据库沟通的语言。 二、检索数据 2.1、检索语句格式:SELECT 列名1,列名2,… ...
分类:数据库   时间:2021-01-13 11:12:23    阅读次数:0
结构体字符串排序
#include<iostream> #include<cstring> #include<algorithm> using namespace std; struct node { string x; //装票数 int num; //装号数 int lenx; //装票数的位数 }s[25]; ...
分类:编程语言   时间:2021-01-13 11:00:17    阅读次数:0
atcoder abc 188 题解
A - Three-Point Shot 题目大意 两个球队现在分数分别给出,问少的一方投入三分球之后是否能翻盘. 代码 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define forn(i,x,n) f ...
分类:其他好文   时间:2021-01-13 10:46:21    阅读次数:0
96. Unique Binary Search Trees(dp)
Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the ...
分类:其他好文   时间:2021-01-12 11:12:21    阅读次数:0
CF1466H Finding satisfactory solutions
CF1466H Finding satisfactory solutions ...
分类:其他好文   时间:2021-01-11 11:22:54    阅读次数:0
单链表反转
#include <iostream> #include <vector> #include <string> using namespace std; struct Node { int data; Node * next; }; Node * reverseList(Node * head) { ...
分类:其他好文   时间:2021-01-11 11:11:15    阅读次数:0
C#泛型
1. 泛型方法:一个方法满足不同类型,做同样的事 泛型与object的区别: 当类性为object的时候: /// <summary> /// 打印个object值 /// 1 object类型是一切类型的父类 /// 2 通过继承,子类拥有父类的一切属性和行为;任何父类出现的地方,都可以用子类来代 ...
分类:Windows程序   时间:2021-01-11 10:50:15    阅读次数:0
git push a file which is larger than 5MB
If a file is larger than 5MB size limit for pushing t, the files must be tracked and updated using git lfs. Note: Please follow the instructions here( ...
分类:其他好文   时间:2021-01-11 10:39:35    阅读次数:0
c++之morphologyEx(形态学操作)
https://www.jianshu.com/p/ee72f5215e07 概念 利用morphologyEx这个函数可以方便的对图像进行一系列的膨胀腐蚀组合。 函数讲解 ●函数原型 ○c++ void morphologyEx( InputArray src, OutputArray dst, ...
分类:编程语言   时间:2021-01-08 11:28:39    阅读次数:0
24378条   上一页 1 ... 31 32 33 34 35 ... 2438 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!