随笔分类 -  cxx

cxx学习分类
摘要:目录SDLfunctionSDL_InitSDL_CreateWindowSDL_DestroyWindowSDL_LoadBMPSDL_SurfaceSDL_BlitSurfaceSDL_FreeSurfaceSDL_CreateRendererSDL_DestroyRendererSDL_Ren 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(16) 评论(0) 推荐(0) 编辑
摘要:Poco::log Poco::json Poco::XML void LPocoXml::OpenFile(const string &path) { InputSource src(path); try { Poco::XML::DOMParser parset; Poco::AutoPtr<D 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(6) 评论(0) 推荐(0) 编辑
摘要:目录openglopengl学习笔记函数部分glAttachShaderglActiveTextureglBindFramebufferglBindRenderbufferglBindTextureglBindBufferARBglBindBufferglBufferDataARBglBufferD 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(38) 评论(0) 推荐(0) 编辑
摘要:目录mac10.12 opencv for Qt5.9window opencv for QtOpencv函数cvcv::VideoCapturecv::splitcv::mergecv::imshowcv::imreadcv::waitKeyMatMat::zeros mac10.12 openc 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(6) 评论(0) 推荐(0) 编辑
摘要:OCCT occt数据类型: OpenCASCADE**由七个模块组成,分别如下: Module FoundationClasses; 基础类; Module ModelingData; 造型数据; Module ModelingAlgorihtms; 造型算法; Module Visualizat 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(195) 评论(0) 推荐(0) 编辑
摘要:windows下编译Mongodby的mongodb cxx driver驱动 首选这个真的不知道为什么没有现成的驱动库,可能是我没有找到。就是官方下载了源码编译 一. 在编译成mongodb cxx drive驱动前得先编译mongodb c drive驱动,注意这两个不一样。一个是c驱动一个是c 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(32) 评论(0) 推荐(0) 编辑
摘要:目录LibCurl基本框架LibCurl主要函数curl_global_init(long flags)curl _global_cleanup(void)curl_easy_init()curl_easy_cleanup()curl_easy_setopt(CURL *handle,CURLopt 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(106) 评论(0) 推荐(0) 编辑
摘要:目录FFmpegFFmpeg structAVFrameContextavformat_alloc_contextavformat_alloc_output_context2avformat_open_inputavformat_close_inputavformat_find_stream_inf 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(65) 评论(0) 推荐(0) 编辑
摘要:struct termios struct termios { unsigned short c_iflag; /* 输入模式标志*/ unsigned short c_oflag; /* 输出模式标志*/ unsigned short c_cflag; /* 控制模式标志*/ unsigned s 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(5) 评论(0) 推荐(0) 编辑
摘要:include 阅读全文
posted @ 2024-06-30 17:25 alvinlyb 阅读(5) 评论(0) 推荐(0) 编辑
摘要:time_point 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(2) 评论(0) 推荐(0) 编辑
摘要:std::function std::function是一个函数包装器模板,最早在c++11中支持。 该函数包装器模板能包装任何类型的可调用元素(callable element),例如普通函数和函数对象。包装器对象可以进行拷贝,并且包装器类型仅仅只依赖于其调用特征(call signature), 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(4) 评论(0) 推荐(0) 编辑
摘要:short int uint ushort uchar 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(5) 评论(0) 推荐(0) 编辑
摘要:c++11智能指针的应用 shared_ptr 共享的智能指针 make_shared weak_ptr 弱引用的智能指针,它不共享指针,不能操作资源,是用来监视shared_ptr的。 class item { private: std::string _name; float _price; p 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(6) 评论(0) 推荐(0) 编辑
摘要://MyClass.h #pragma once #ifndef MYCLASS_H #define MYCLASS_H #include <iostream> #include <memory> class NeptuneScene; class NeptuneElem; class Neptun 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(4) 评论(0) 推荐(0) 编辑
摘要:目录iostreamstringstreamfilesystemfstreamifstreamofstreamgetlineseekg/seekpbadfaileofgoodgcount iostream 标准文件输入输出流 #include <iostream> stringstream 进行字符 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(8) 评论(0) 推荐(0) 编辑
摘要:目录字符串strchrstrstrstrcmpstrncmpstrcatstrncatstrtokstrcpystrncpyputsfputs内存操作memsetmemcpymalloccallocreallocfree文件操作fstat输入输出操作sprintf_sfprintfprintfpri 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(8) 评论(0) 推荐(0) 编辑
摘要:调试GUI程序时显示cmd窗口 项目 - 属性 -生成事件 --后期生成事件 ->命令行 (editbin /SUBSYSTEM:CONSOLE (OUTDIR)(ProjectName).exe) 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(6) 评论(0) 推荐(0) 编辑
摘要:VLD内存泄漏调试 下载、安装 VLD 主页:http://vld.codeplex.com/ Qt .pro文件中加入以下配置 # 只有在 Win32 下才可使用 win32 { CONFIG(debug, debug|release) { # 需要基于 Debug 模式 DEFINES += V 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(6) 评论(0) 推荐(0) 编辑
摘要://数组长度的获取 #define getArrayLen(array,len) {len = sizeof(array)/sizeof(array[0]);} template<class T> int length(T& arr) { return sizeof(arr)/sizeof(arr[ 阅读全文
posted @ 2024-06-30 17:23 alvinlyb 阅读(3) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示