原创 linux下正確安裝jsoncpp

原文鏈接:https://www.cnblogs.com/wuli-jishu-192-168-23333/p/6215532.html https://www.cnblogs.com/

原创 g++ 鏈接*.a靜態庫 方法

g++在鏈接*.a靜態庫時,直接作爲object使用,不需要使用-l ,但是需要注意調整順序,被依賴的文件放在後面。 g++ test.cpp -I/home/hlx/Desktop/libs/demo/libs/glog/inc

原创 將多個整形數字拼接形成一個新的整數

可以使用boost庫的強轉lexical_cast UINT64 GetFinalTargetID(const UINT32& time, const UINT32& radarId, const UINT32&targetId)

原创 windows下kafka的環境配置及rdkafka庫的應用

1、下載並安裝Win32OpenSSL-1_0_2s 2、從github上下載代碼: https://github.com/edenhill/librdkafka/tree/v0.11.6-RC4,解壓並用vs2017打開win3

原创 無法解析的外部符號__imp____iob_func

原文鏈接:https://blog.csdn.net/darkdivel314/article/details/84140051 因爲在vs2015之後 這個方法名被更新了(根本不知道)

原创 win7下openssl安裝

1、下載ActivePerl-5.20.2MSWin32.exe並安裝,獲取perl指令操作。 2、下載openssl-1.0.2j,解壓後今入此目錄,然後在文件夾上方輸入cmd打開命令行窗口 3、輸入perl Configure

原创 #pragma,改變程序入口函數#pragma comment(linker, "/ENTRY:main")

原文鏈接:https://www.cnblogs.com/xiangtingshen/p/11132205.html #pragma comment ( lib,"wpcap.lib"

原创 kafka簡介

原文鏈接:https://blog.csdn.net/u014427391/article/details/74436298 Kafka消息的發佈描述爲producer,消息的訂閱描述爲

原创 c++ 之 std::move

原文鏈接:https://blog.csdn.net/p942005405/article/details/84644069 在C++11中,標準庫在中提供了一個有用的函數std::mo

原创 vs添加第三方庫

原文鏈接:https://blog.csdn.net/littlelittlefish_xyg/article/details/83030430 庫工程生成的三個核心文件是:xxx.h、

原创 VS 編譯CEF,鏈接錯誤:error LNK2038: 檢測到“_MSC_VER”的不匹配項: 值“1800”不匹配值“1900”

原文鏈接:https://blog.csdn.net/moyebaobei1/article/details/83054417 最近重新編譯CEF,發生如下錯誤 1>libcef_dll

原创 MFC中的WinMain()入口去哪裏了?

學過一段時間的MFC之後,很多人大概都有一個疑問:在MFC中,WinMain()哪去了?因爲任何一個使用過Win32 SDK編程的人都知道,WinMain()函數是Win32程序開始的入口點,可是在MFC的框架使用中,一般我們只知

原创 The object or library file 'xxx.obj' was created with an older compiler than other obj

原文鏈接:https://blog.csdn.net/dk_0228/article/details/50825650 解決方法: 右鍵您的工程選擇porperties,然後按以下路徑操

原创 linux環境下C++中使用yaml

1、首先下載yaml-cpp插件: git clone https://github.com/jbeder/yaml-cpp.git 2、編譯yaml-cpp插件: 1. cd yaml-cpp 2. mkdir build

原创 error LNK2019:無法解析的外部符號 __imp__sprintf和__imp__vprintf

原文鏈接:https://blog.csdn.net/yulijuanxmu/article/details/87920714 問題:用VS2017跑前人的某個VS2012項目,報某個庫