#STD

libstdc++.so.6: version `GLIBCXX_3.4.21' not found

问题:dotnet:/usr/lib64/libstdc++.so.6:version`GLIBCXX_3.4.18'notfound(requiredbydotnet)dotnet:/usr/lib64/libstdc++.so.6:version`CXXABI_1.3.5'notfound(requiredbydo...

C++17 新特性之 std::optional(上)

最近在学习c++17的一些新特性,为了加强记忆和理解,把这些内容作为笔记记录下来,有理解不对的地方请指正,欢迎大家留言交流。在介绍之前,我们从一个问题出发,C++的函数如何返回多个值?比较有年代感的一种做法是将返回值作为引用参数传入,函数的返回值用来标识运行状态,比如像下面这样#include<iostream&...

MFC函数—CWinApp::LoadStdProfileSettings

从InitInstance成员函数内调用该函数,启用和加载最近使用的(MRU)文件和最后浏览状态的列表。voidLoadStdProfileSettings(  UINTnMaxMRU=_AFX_MRU_COUNT);参数nMaxMRU:要跟踪的最近使用的文件个数。如果nMaxMRU为0,MRU列表...

编译OpenCV提示opencv_contrib缺少boostdesc_bgm.i等文件

错误提示:~/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:673:20:fatalerror:boostdesc_bgm.i:Nosuchfileordirectory 解决方法:查看 build 文件夹下的日志文件 ...

error C2338: You've instantiated std::aligned_storage<Len, Align> with an extended alignment (in other words, Align >

  报的完整错误为:errorC2338:You'veinstantiatedstd::aligned_storage<Len,Align>withanextendedalignment(inotherwords,Align>alignof(max_align_t)).Before...

std_msgs/String.msg

 fromstd_msgs.msgimportStringhttp://docs.ros.org/api/std_msgs/html/msg/String.html...
代码星球 代码星球·2020-11-01

gzip: stdin: unexpected end of file tar: Unexpected EOF in archive

 1.问题描述:  今天解压tar包遇到这样一个问题  使用命令:tar-zxvfxxxxx.tar.gzgzip:stdin:unexpectedendoffiletar:UnexpectedEOFinarchivetar:UnexpectedEOFinarchivetar:Errorisnotrecove...

python os.listdir

os.listdir()方法用于返回指定的文件夹包含的文件或文件夹的名字的列表。这个列表以字母顺序。它不包括'.'和'..'即使它在文件夹中。os.listdir(path)path--需要列出的目录路径#!/usr/bin/python#-*-coding:UTF-8-*-importos,sys#打开文件path=...
代码星球 代码星球·2020-10-12

C/C++:函数调用规则__stdcall,__cdecl,__pascal,__fastcall

__cdecl__cdecl是CDeclaration 的缩写,表示C语言默认的函数调用方法:所有参数从右到左依次入栈,这些参数由调用者清除,称为手动清栈。被调用函数不会要求调用者传递多少参数,调用者传递过多或者过少的参数,甚至完全不同的参数都不会产生编译阶段的错误。__stdcall__stdcall是St...

C++:__stdcall详解

原文地址:http://www.cnblogs.com/songfeixiang/p/3733661.html对_stdcall 的理解(上)在C语言中,假设我们有这样的一个函数:int function(int a,int b)调用时只要用result = ...
代码星球 代码星球·2020-10-11

C++11学习笔记之三lamda表达式,std::function, std::bind

//lamda//firstlamda[]{};//secondlamda[]()//ornoneed()whenparamaterisnull{std::cout<<"second"<<std::endl;}();//lastadd(),expresswillcallthislamdafunc...

Linux安装FastDFS~Nginx~

确保Linux联网,我这里使用的是CentOS7操作,联网教程https://www.cnblogs.com/taopanfeng/p/10978752.html 先把指定的四个文件放入指定目录安装所需的插件yum-yinstallvimwgetzlibzlib-develpcrepcre-develgccg...
代码星球 代码星球·2020-09-10

面试:第八章:SpringMVC、Springboot、Mybatis、Dubbo、Zookeeper、Redis、Elasticsearch、Nginx 、Fastdfs、ActiveMQ

SpringMVC:简单的介绍一下SpringMvc的工作原理?1、用户向服务器发送请求,请求被SpringMVC的前端控制器DispatcherServlet截获。2、DispatcherServlet对请求的URL(统一资源定位符)进行解析,得到URI(请求资源标识符),然后根据该URI,调用HandlerMapp...

FastDFS分布式文件系统

资料下载大纲  FastDFS架构包括Trackerserver和Storageserver。客户端请求Trackerserver进行文件上传、下载,通过Ttackerserver调度,最总由Storageserver完成文件上传和下载。     &...

linux --stdin 管道输出

--stdin This option is used to indicate that passwd should read the new password from ...
代码星球 代码星球·2020-09-06
首页上一页...23456...下一页尾页