自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 vscode远程Linux调试c++程序

vscode远程调试c++

2022-11-25 10:30:06 1383 1

原创 【记录】list基本使用

queue描述:初始化:大小:访问:算法:

2021-06-24 11:18:43 171

原创 【记录】vector基本使用

1.vector描述:相对于array,vector是一种动态空间,随着元素的加入,它会自动扩充空间以容纳新的元素。初始化:vector<int> n;vector<int> n = {1,2,3,3};vector<int> n(10,5); //初始化为10个5vector<int> n(10); //初始化10个int类型的vector,值不确定vector<int> n(a.begin(),a.begin()+5); //将

2021-06-22 18:53:51 129

原创 29. Divide Two Integers

Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator.Return the quotient after dividing dividend by divisor.The integer division should truncate toward zero, which means losing its fractiona

2020-09-04 10:50:48 117

原创 11. Container With Most Water

Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a container, such

2020-08-12 15:13:04 51

原创 leetcode 8. String to Integer (atoi)

leetcode 8. String to Integer (atoi)Implement atoi which converts a string to an integer.The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes a

2020-08-12 14:11:13 70

原创 fatal: unable to access ‘https://github.com/.../‘: Failed to connect to github.com port 443: 连接超时

虚拟机终端fatal: unable to access ‘https://github.com/…/’: Failed to connect to github.com port 443: 连接超时浏览器输入ipaddress.com,查询如下两个域名,并分别记录下其对应的ip:(1)github.com(2)github.global.ssl.fastly.net修改hosts文件输入命令 sudo vi /etc/hosts输入对应的密码,回车,进入编辑模式修改内容完成加入查询到的地

2020-08-05 15:20:29 1729

原创 linux锁机制简单介绍

linux锁机制简单介绍互斥锁:mutex,用于保证在任何时刻,都只能有一个线程访问该对象。当获取锁操作失败时,线程会进入睡眠,等待锁释放时被唤醒。例如一个房间只有一把钥匙,一个人取走钥匙进入房间后,后面的人只能排队等待持有钥匙的人出来为止,房间(资源)只能在一个时刻被一人所占有。读写锁:rwlock,分为读锁和写锁。处于读操作时,可以允许多个线程同时获得读操作。但是同一时刻只能有一个线程可以获得写锁。其它获取写锁失败的线程都会进入睡眠状态,直到写锁释放时被唤醒。如果有其它线程读数据

2020-07-19 22:43:14 329

原创 easypr出现“error LNK2019: 无法解析的外部符号 ”

vs2019+opencv400配置easypr,把一些函数名和其它错误修改完后出现了libeasypr.lib(chars_identify.obj) : error LNK2019: 无法解析的外部符号 "private: __cdecl easypr::CharsIdentify::CharsIdentify(void)" (??0CharsIdentify@easypr@@AEAA@XZ),该符号在函数 "public: static class easypr::CharsIdentify *

2020-06-22 19:21:21 288

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除