
C++
火星种萝卜
c++ vc mfc java
展开
-
GIT_DISCOVERY_ACROSS_FILESYSTEM未设置
GIT_DISCOVERY_ACROSS_FILESYSTEM未设置(GIT_DISCOVERY_ACROSS_FILESYSTEM not set)_电脑培训转载 2022-08-20 15:12:57 · 6246 阅读 · 0 评论 -
c++ 指针辨析
#include <iostream>using namespace std;int main(){int i = 5;int *p = &i;int b = 6 ;int *pi = &b; //注意这句话是错的,不能将int值赋值给int * 类型, int *pi = 0的时候,pi代表的是空指针p = pi;std::cout << i << " " << p << " " <<原创 2022-05-18 16:19:56 · 193 阅读 · 1 评论 -
c++ 中ref 和引用的区别_天天摸鱼身体棒的博客-优快云博客_c++ref PRINT
c++ 中ref 和引用的区别_天天摸鱼身体棒的博客-优快云博客_c++ref转载 2022-05-15 16:33:43 · 119 阅读 · 0 评论 -
undefined reference to `pthread_create‘ 怎么解决? 靠近源文件后加-lpthread
解决办法靠近源文件后加-lpthread实测解决问题userA@userA-Dell-G15-5511:~/exercise2$ g++ thread.cpp/usr/bin/ld: /tmp/ccY4Oifo.o: in function `std::thread::thread<void (*)(std::mutex&, std::condition_variable&, int const&), std::reference_wrapper<...转载 2022-05-15 16:12:58 · 278 阅读 · 0 评论 -
c++ 之智能指针:尽量使用std::make_unique和std::make_shared而不直接使用new_ppipp1109的博客-优快云博客_c++ std::make_unique
c++ 之智能指针:尽量使用std::make_unique和std::make_shared而不直接使用new_ppipp1109的博客-优快云博客_c++ std::make_unique转载 2022-04-22 15:49:49 · 451 阅读 · 0 评论 -
UBUNTU VS C++ 调试报错Unable to open ‘libc-start.c‘: File not found.
UBUNTU VS C++ 调试报错Unable to open 'libc-start.c': File not found.原创 2022-04-14 17:23:27 · 1654 阅读 · 0 评论 -
Ubuntu18.04+vscode调试SLAM系统_古路的博客-优快云博客
Ubuntu18.04+vscode调试SLAM系统_古路的博客-优快云博客转载 2022-04-14 16:34:31 · 403 阅读 · 0 评论 -
Ubuntu下VSCode调试环境搭建指南-C语言篇 - maxiaowei0216 - 博客园
Ubuntu下VSCode调试环境搭建指南-C语言篇 - maxiaowei0216 - 博客园转载 2022-04-14 15:38:55 · 551 阅读 · 0 评论 -
在ubuntu16.04下利用cmake+VC code,断点调试_Mr.Silver的博客-优快云博客
在ubuntu16.04下利用cmake+VC code,断点调试_Mr.Silver的博客-优快云博客转载 2022-04-12 19:01:17 · 192 阅读 · 0 评论 -
launch.json Debugging in Visual Studio Code正式使用手册
Debugging in Visual Studio Code转载 2022-04-12 17:52:18 · 251 阅读 · 0 评论 -
CMake Error: Error: generator : Ninja
CMake Error: Error: generator : NinjaDoes not match the generator used previously: Unix MakefilesEither remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.原创 2022-04-12 16:05:31 · 2732 阅读 · 2 评论 -
vs调试报错 launch:program ‘/home/xx/exercise/build/build/Debug/-outDebug‘ does not exist
launch:program '/home/xx/exercise/build/build/Debug/-outDebug' does not exist原创 2022-04-12 14:59:01 · 3039 阅读 · 1 评论 -
ubuntu 下vscode 调试C++ - 知乎
ubuntu 下vscode 调试C++ - 知乎转载 2022-04-12 14:49:07 · 822 阅读 · 0 评论 -
手动安装codeLLDB_irrationality的博客-优快云博客_安装lldb
手动安装codeLLDB_irrationality的博客-优快云博客_安装lldb转载 2022-04-12 14:40:14 · 2333 阅读 · 0 评论 -
vscode调试出错:Unable to start debugging.The value of miDebuggerPath is invalid 问题解决_暗夜无风的博客-优快云博客
vscode调试出错:Unable to start debugging.The value of miDebuggerPath is invalid 问题解决_暗夜无风的博客-优快云博客_midebuggerpath转载 2022-04-12 14:31:59 · 5317 阅读 · 0 评论 -
Once done, use “Install from VSIX...“ command to install.
Platform package installation failed: Error: HTTP status 401 : Unauthorized.You can try downloading the package manually.Once done, use "Install from VSIX..." command to install.原创 2022-04-12 14:22:35 · 1385 阅读 · 0 评论 -
在Linux中使用VS Code编译调试C++项目 - DoubleLi - 博客园
在Linux中使用VS Code编译调试C++项目 - DoubleLi - 博客园转载 2022-04-11 20:08:14 · 674 阅读 · 0 评论 -
安装vscode 报错Error in file “/usr/share/applications/org.kde.kdeconnect_open.desktop“: “*/*“ is an inva
sudo dpkg -i code_1.66.1-1649257842_amd64.deb(正在读取数据库 ... 系统当前共安装有 240405 个文件和目录。)准备解压 code_1.66.1-1649257842_amd64.deb ...正在解压 code (1.66.1-1649257842) 并覆盖 (1.66.1-1649257842) ...正在设置 code (1.66.1-1649257842) ...Error in file "/usr/share/applicati...原创 2022-04-11 19:35:21 · 2680 阅读 · 2 评论 -
ubuntu 安装VS 转
以下文字转在ubuntu 安装VS_人生不过一闭一睁的博客-优快云博客_ubuntu安装vs2017able of Contents一、前言二、安装过程1、下载VS Code2、安装过程3、下载C++ 模块4、汉化5、常用快捷键一、前言因为要用到在ubuntu系统中使用VS Code 来编写C++代码,在此分享VS Code的安装过程。之前我们讲了如何制作U盘启动盘,如何安装双系统,如何安装谷歌浏览器等.转载 2022-04-11 18:10:20 · 1064 阅读 · 0 评论 -
Pangolin在cmake时报“Could NOT find GLEW”错误
Pangolin在cmake时报“Could NOT find GLEW”错误解决sudo apt install libglew-dev转载 2022-04-06 20:46:05 · 562 阅读 · 0 评论 -
cmake之ADD_LIBRARY()
cmake之ADD_LIBRARY() - 百度文库转载 2022-04-04 22:13:41 · 529 阅读 · 0 评论 -
kdevelop用法_weixin_44594953的博客-优快云博客_kdevelop
kdevelop用法_weixin_44594953的博客-优快云博客_kdevelop转载 2022-04-04 17:49:04 · 220 阅读 · 0 评论 -
Could not load project management plugin KDevCMakeManager.Check that the required programs are inst
Could not load project management plugin KDevCMakeManager.Check that the required programs are installed, or see console output for more information.原创 2022-04-04 16:43:26 · 341 阅读 · 0 评论 -
c++ #ifndef和#define在头文件中的作用
https://www.iteye.com/blog/yiran2014-2258797转载 2022-04-04 16:32:28 · 437 阅读 · 0 评论 -
KDevelop使用笔记【中文教程】 - _Mr_y - 博客园
KDevelop使用笔记【中文教程】 - _Mr_y - 博客园转载 2022-04-03 23:33:00 · 469 阅读 · 0 评论 -
kdevelop安装完成后如何启动
1 菜单里有。2 或者命令行直接运行kdevelop弱弱地问,kdevelop怎么启动?-优快云论坛转载 2022-04-03 23:29:44 · 281 阅读 · 0 评论 -
make makefile cmake qmake都是什么,有什么区别? - 知乎
make makefile cmake qmake都是什么,有什么区别? - 知乎转载 2022-04-03 23:13:49 · 203 阅读 · 0 评论 -
Kdevelop的简单使用和调试_JunJun~的博客-优快云博客_kdevelop使用教程
Kdevelop的简单使用和调试_JunJun~的博客-优快云博客_kdevelop使用教程转载 2022-03-26 21:22:25 · 334 阅读 · 0 评论 -
make的-j命令
make的-j命令转载 2022-03-26 15:52:10 · 1776 阅读 · 0 评论 -
cmake使用示例与整理总结_QTVLC的博客-优快云博客_cmake使用示例与整理 施公队演示时用的blog B zhan
cmake使用示例与整理总结_QTVLC的博客-优快云博客_cmake使用示例与整理转载 2022-03-26 15:33:32 · 211 阅读 · 0 评论 -
超详细的CMake教程 - 一杯清酒邀明月 - 博客园
超详细的CMake教程 - 一杯清酒邀明月 - 博客园转载 2022-03-26 09:54:06 · 686 阅读 · 0 评论 -
汇编和编译有什么区别? - 知乎
汇编和编译具体指什么?有什么区别? - 知乎转载 2022-03-26 09:24:36 · 4532 阅读 · 0 评论 -
“cmake 点点”表示在上一级目录(CMakeLists.txt所在目录)编译
CMake学习(一)_福尔摩斯帅双的博客-优快云博客转载 2022-03-25 18:49:53 · 2112 阅读 · 0 评论 -
Apollo代码学习(六)—模型预测控制(MPC)_follow轻尘的博客-优快云博客_mpc代码
Apollo代码学习(六)—模型预测控制(MPC)_follow轻尘的博客-优快云博客_mpc代码转载 2022-03-06 11:30:46 · 1867 阅读 · 0 评论 -
Apollo 7.0 源码及框架解读 - 知乎
Apollo 7.0 源码及框架解读 - 知乎转载 2022-03-05 22:50:15 · 1886 阅读 · 1 评论 -
CC格式的文件要怎么打开浏览? - 知乎
CC格式的文件要怎么打开浏览? - 知乎转载 2022-03-04 07:41:56 · 1661 阅读 · 0 评论 -
Apollo 1.0-6.0各版本框架概述 - 知乎
Apollo 1.0-6.0各版本框架概述 - 知乎转载 2022-03-03 21:45:32 · 743 阅读 · 0 评论 -
【Apollo源码分析】系列的第三部分【prediction】_slamcode的博客 -优快云博客
【Apollo源码分析】系列的第三部分【prediction】_slamcode的博客 -优快云博客转载 2022-03-03 21:14:05 · 263 阅读 · 0 评论 -
c++ stdlib中rand()函数的值范围
范围是0~32767。库函数中系统提供了两个函数用于产生随机数:srand()和rand()。 原型为:函数一:int rand(void);返回一个[0,RAND_MAX]间的随机整数。函数二:void srand(unsigned seed);参数seed是rand()的种子,用来初始化rand()的起始值。rand函数不是真正的随机数生成器,而srand()会设置供rand()使用的随机数种子。如果你在第一次调用rand()之前没有调用srand(),那么系统会为你自动调用srand()。转载 2022-02-27 11:18:56 · 1024 阅读 · 0 评论 -
全局函数与局部函数
1.2.1 全局函数与局部函数 - 51CTO.COM转载 2022-02-20 15:05:27 · 646 阅读 · 0 评论