在类成员函数中如何调用pthread_create()呢? #incldue <pthread.h> int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), v ...
分类:
编程语言 时间:
2021-03-16 11:47:13
阅读次数:
0
class BigInt{ public: vector<int> a; BigInt operator+(const BigInt& b) { BigInt r; int s=max(a.size(),b.a.size()); for(int i=0;i<s;i++) { r.a.push_bac ...
分类:
其他好文 时间:
2021-03-16 11:45:03
阅读次数:
0
处理了一年的边界问题 #include <bits/stdc++.h> using namespace std; const int N = 2e5 + 10; #define fi first #define se second #define sz(v) ((int)(v).size()) #d ...
分类:
其他好文 时间:
2021-03-15 11:18:36
阅读次数:
0
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> PII; #define ls l,mid,rt<<1 #define rs mid+1,r,rt<<1|1 const ...
分类:
其他好文 时间:
2021-03-15 11:08:22
阅读次数:
0
/// <summary> /// 日期格式 2019-04 /// </summary> public const string DATE_MONTH_FORMAT = "yyyy-MM"; /// <summary> /// 日期格式 2019-04-25 /// </summary> publ ...
分类:
其他好文 时间:
2021-03-15 10:39:21
阅读次数:
0
前端更新迭代太快,特此记录学习中遇到的一些知识点 知识点也特别多,最近又在使用vue开发项目,在项目中成长,感觉代码是真的菜,后面需要重新优化 一 export const sum=12 import {sum} from xxx alert(sum) 二 const sum=12 export s ...
分类:
其他好文 时间:
2021-03-11 19:54:35
阅读次数:
0
class CTestA { public: CTestA(){ std::cout<<"CTestA(){"<<std::endl; } CTestA(const CTestA &){ std::cout<<"CTestA(const CTestA &){"<<std::endl; } }; cl ...
分类:
其他好文 时间:
2021-03-11 14:17:16
阅读次数:
0
1、创建指令文件bthPermission.js,编写自定义指令: import Vue from 'vue'; import api from "api"; /**权限指令**/ const has = Vue.directive('has', { bind: async function (el ...
分类:
其他好文 时间:
2021-03-10 13:37:17
阅读次数:
0
什么是注解 Annotation的作用 不是程序本身,可以对程序作出解释 可以被其他程序(比如:编辑器等)读取 Annotation的格式 注解是以@注释名在代码中存在的,还可以添加一些参数值,例如:@SuppressWarnings(value="unchecked") Annotation在哪里 ...
分类:
编程语言 时间:
2021-03-10 13:34:57
阅读次数:
0
http://www.pipioj.online/problem.php?id=1026 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2 #define bug(x) cout<<#x<<" is "<<x<<e ...
分类:
其他好文 时间:
2021-03-10 13:26:07
阅读次数:
0