原创 C++虛析構函數和純虛析構函數

1、爲什麼要使用虛析構函數 我們知道析構函數是在對象生命週期結束時自動被調用,用來做一些清理工作(如釋放句柄,釋放堆內存等),防止出現內存泄漏。 那怎麼還有虛析構函數呢? 使用虛析構函數的類一般是要作爲基類,被其他類繼承。通過把基類的析構

原创 3 Writing Makefiles(編寫makefile)

The information that tells make how to recompile a system comes from reading a data base called the makefile. (make通過讀取

原创 3.3 Including Other Makefiles(包含其他的makefile文件)

The include directive tells make to suspend(掛起) reading the current makefile and read one or more other makefiles befor

原创 windows下MATLAB2016a安裝配置

1、技術支持 【點我獲取技術支持】 2、安裝包 3、附上入門級視頻教程  

原创 MATLAB安裝配置MinGW-w64 C/C++編譯器 源碼編譯

1、技術支持 【點我獲取技術支持】 2、環境 系統:Windows10 matlab2016a 3、配置 (1)確保MinGW-w64 C/C++已安裝 (2)配置環境變量MW_MINGW64_LOC,執行MinGW-w64安裝目錄,如果

原创 windows下QT4.8.6(mingw482預編譯包,32位)安裝教程

技術支持 [點擊這裏獲取技術支持] 環境 windows系統 軟件包 qt-opensource-windows-x86-mingw482-4.8.6-1.exe(qt安裝包,類庫) qt-creator-opensource-w

原创 2.5 Letting make Deduce the Recipes(讓make來推導命令)

It is not necessary to spell out(寫出) the recipes for compiling the individual C source files, because make can figure t

原创 windows下使用MingW-w64 編譯 Qt4.8.6源碼,生成64位QT庫

技術支持 [點我獲取技術支持] 1. 安裝mingw-w64 具體安裝教程,可以參考:https://blog.csdn.net/wo198711203217/article/details/105032057 安裝時記得選擇x8

原创 3.1 What Makefiles Contain(makefile文件包含什麼)

Makefiles contain five kinds of things: explicit rules, implicit rules, variable definitions, directives, and comments(

原创 linux下QT4編譯的程序運行時無法顯示中文問題

 現象: 1、基於qt4編譯的程序無法正確顯示中文 注意:這裏的無法顯示中文,是和字符集沒有關係(字符集設置對了,也無法顯示中文) 原因: 1、系統缺少字體庫(fontconfig) 解決: (1)配置yum源 (2)yum search

原创 linux下源碼編譯安裝postgreSQL11.7

軟件環境: redhat5 64位系統 postgreSQL11.7源碼包 1、將源碼包拷貝到linux服務器上(root) /* 源碼包可以從官網下載。 我這裏提供一份我已經下載好的postgreSQL11.7源碼包: 鏈接