ffplay是ffmpeg源码中一个自带的开源播放器实例,同时支持本地视频文件的播放以及在线流媒体播放,功能非常强大。 FFplay: FFplay is a very simple and portable media player using the FFmpeg libraries and t ...
分类:
其他好文 时间:
2020-07-25 09:54:41
阅读次数:
80
这里稍微记一下C#的程序结构(只是自己的理解,不一定正确。主要还是要照搬菜鸟的内容,官网上的教程感觉有点急?) 1 using System; 2 namespace HelloWorldApplication 3 { 4 class HelloWorld 5 { 6 static void Mai ...
一。我们用Ocelot加consul一起使用,服务的注册发现,而不是现在的单机版手动配置服务地址 我们写Ocelot的配置,这个是时候 我们要引用Ocelot.Provider.Consul这个包,然后又多一个扩展addConsul()这个扩展方法,如下startup的配置 using System ...
分类:
Web程序 时间:
2020-07-25 09:32:16
阅读次数:
124
代码: #include <iostream> #include <stack> # include <string> #include <stdexcept> using namespace std; class my_stack { public: my_stack(){}; ~my_stack ...
分类:
编程语言 时间:
2020-07-25 09:28:16
阅读次数:
67
水个题解压压惊 A. String Transformation 1 贪心就好了。每次选择所有A里最小的、需要改变的字符,然后改变成最小的对应B值,差不多这个意思吧(?) #include <bits/stdc++.h> using namespace std; #define repeat(i,a ...
分类:
其他好文 时间:
2020-07-25 09:14:40
阅读次数:
91
1 using System; 2 using System.Net; 3 using System.IO; 4 using System.Text; 5 using System.Text.RegularExpressions; 6 using System.Net.Security; 7 usi ...
分类:
其他好文 时间:
2020-07-25 09:12:50
阅读次数:
65
reg_test.cpp内容如下: #include <vector> #include <fmt/format.h> #include <console_color.h> #include <re2/re2.h> using namespace re2; using namespace std; ...
分类:
其他好文 时间:
2020-07-24 21:48:06
阅读次数:
101
#include<iostream> #include<stdio.h> using namespace std; int main() { int input,search; scanf("%d",&input); int *score = new int[input]; for(int i=0; ...
分类:
其他好文 时间:
2020-07-24 21:47:22
阅读次数:
76
namespace my_std{ using namespace std; #define Re register #define rep(i,a,b) for(Re int i=(a);i<=(b);i++) #define drep(i,a,b) for(Re int i=(a);i>=(b) ...
分类:
其他好文 时间:
2020-07-24 21:16:57
阅读次数:
62
字典树是一种实现字符串快速检索的多叉树结构。每个节点都拥有很多个指针。 模板提https://www.acwing.com/problem/content/144/。 1 #include <iostream> 2 #include <string> 3 using namespace std; 4 ...
分类:
其他好文 时间:
2020-07-24 21:16:00
阅读次数:
64