![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
C++专栏
JensonZh
这个作者很懒,什么都没留下…
展开
-
SQLite步骤
C++使用SQLite步骤及示例1、 下载sqlite文件。下载网址:http://www.sqlite.org/download.html。SQLite版本为SQLite 3.11.1,相关文件如下。sqlite-dll-win32-x86-3110100.zip:包含sqlite3.def、sqlite3.dll文件。sqlite-amalgamation-3110100.zip:包含sqlite3.h 文件。sqlite-tools-win32-x86-3110100.zip:包含sqli原创 2021-10-13 15:59:51 · 148 阅读 · 1 评论 -
git常用命令
git常用命令git config --global user.name "GTTON"git config --global user.email "tornadoweb@163.com"git initgit remote add origin https://gitee.com/gtton/test.gitgit push -u origin mastergit remote add origin https://gitee.com/gtton/test.gitgit push -原创 2021-09-16 17:14:51 · 85 阅读 · 0 评论 -
VScode使用
常用环境变量${workspaceFolder} - 打开文件夹所在路径${file} - 当前已打开文件${fileBasename} - 当前已打开文件名${fileBasenameNoExtension} - 当前已打开文件名无后缀${cwd} - 在启动时的当前工作目录Debugger"name": "xfb","type": "cppvsdbg","request": "launch","program": "${workspaceFolder}/bin/xfb.exe",原创 2021-07-15 14:26:22 · 150 阅读 · 0 评论 -
vs code配置
vs code配置1 用户配置其他操作通过shift + command + p查找运行,比如用户设置:shift + command + p后,输入user setting,打开用户设置;shift + command + p theme可选择主题颜色2 调试2.1 c++ 编译完代码后,可用F5开始代码调试。如无launch.json配置文件,vscode将会自动生成该文件进行调试配置,如下所示:{ // 使用 IntelliSense 了解相关属性。 // 悬停以查看现原创 2021-06-25 09:51:30 · 272 阅读 · 0 评论 -
Ubuntu显卡驱动安装
//禁用nouveausudo vi/etc/modprobe.d/blacklist-nouveau.conf//添加/*blacklist nouveauoptions nouveau modeset=0*/sudo update-initramfs -usudo rebootapt-get autoremove nvidia*service lightdm stop-->>//查看drivers ubuntu-drivers devices//切换终端sud原创 2021-03-18 15:26:05 · 89 阅读 · 0 评论 -
apt命令
sudo apt-get update 更新源sudo apt-get install package 安装包sudo apt-get remove package 删除包sudo apt-cache search package 搜索软件包sudo apt-cache show package 获取包的相关信息,如说明、大小、版本等sudo apt-get install package --reinstall 重新安装包sudo apt-get -f install 修复安装sud原创 2021-03-16 16:58:12 · 187 阅读 · 0 评论 -
C++调用Python
C++调用PythonC++调用Python主要使用到Python安装路径下的include、libs两个文件;include是头文件包含libs是静态链接库调用流程#include <Python.h>int main(){ Py_Initialize();//初始化Python环境 PyRun_SimpleString("import sys");//导入库 PyRun_SimpleString("sys.path.append('./')");//当前路径添加到Pytho原创 2021-01-15 15:25:24 · 474 阅读 · 0 评论 -
Git常用命令
Git常用命令拉取git pull git pull <远程主机名> <远程分支名>:<本地分支名>推送git push 推送git push <远程主机名> <本地分支名>:<远程分支名>git push --set-upstream origin bug1001144创建分支git branch 分支名 -d 删除分支 -D 强制删除分支切换分支git checkout 分支名添加修改git ad原创 2021-01-06 14:18:06 · 47 阅读 · 0 评论 -
CMake使用小结
CMake使用小结指定本地库的位置set(Qt5_DIR "path")list(APPEND CMAKE_PREFIX_PATH ${Qt5_DIR})设置编译输出的路径set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/lib)set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/lib)set(CMAKE_RUNTIME_OUTPUT_DIRECTO原创 2021-02-01 09:40:27 · 816 阅读 · 2 评论