Avatar

嗡嗡的隨手筆記

  1. 首頁
  2. 關於本站
  3. 站長ㄉ書
  4. 搜尋
  5. 所有文章
  6. 分類
  7. 標籤
  8. 關於站長
  9. 聯絡站長
  10. 支持本站

    所有文章

    全部文章 791
    2026 2
    2024 10
    2023 71
    2022 350
    2021 235
    更多
    899 - Debug / Error 299 - C++ 問題解決

    【C++】問題解決:error: no member named 'cout' in namespace 'std'

    紀錄 C++ 編譯時 'no member named cout in namespace std' 的解法 — 補上 #include <iostream>。

    Mar 09, 2023
    閱讀時間 1 分鐘
    231 - C++ OpenCV

    【C++ OpenCV】在 mac 上安裝 OpenCV 筆記,與撰寫第一支 OpenCV 程式

    紀錄 macOS 上安裝 OpenCV — brew 安裝 CMake、clone opencv、建 build_opencv、cmake。

    Jan 06, 2023
    閱讀時間 1 分鐘
    299 - C++ 問題解決

    【C++】問題解決:fatal error: 'opencv2/opencv.hpp' file not found

    紀錄 macOS OpenCV 「opencv.hpp file not found」錯誤 — OpenCV 未正確安裝,需重新執行官方安裝流程。

    Jan 06, 2023
    閱讀時間 1 分鐘
    291 - C++ 觀念理解

    【C++ 觀念理解 #4】C++ include file 邏輯, 在子檔案已經被 include 的檔案,還需要再重新被 include 嗎?(對比 Python import)

    介紹 C++ include 邏輯與 Python import 的區別 — C++ 子檔案的 include 會自動傳遞,不需在父檔案重新 include。

    Dec 29, 2022
    閱讀時間 1 分鐘
    Featured image of post 【C++ 檔案處理 #1】C 語法的檔案讀取 istream (header: fstream, std::ifstream), 與 iostream 直接比較
    213 - C++ 檔案處理

    【C++ 檔案處理 #1】C 語法的檔案讀取 istream (header: fstream, std::ifstream), 與 iostream 直接比較

    介紹檔案讀取 `std::ifstream` — 與 iostream 的區別、seekg/tellg 定位、read 讀取資料的用法。

    Dec 27, 2022
    閱讀時間 1 分鐘
    298 - Effective Modern C++ 閱讀筆記 999 - 【草稿區】

    【草稿】【Effective Modern C++ 閱讀筆記 #2】ch4 - Item 18: 使用 std::unique_ptr 於 exclusive-ownership (排他的-所有權) 資源管理, std::unique_ptr 介紹

    介紹 std::unique_ptr 的排他所有權、move 語義與禁止 copy,以及在 factory function 的使用場景。

    Dec 26, 2022
    閱讀時間 2 分鐘
    Featured image of post 【Effective Modern C++ 閱讀筆記 #1】ch4 - Smart Pointers 前言, 什麼是 dangling pointer?
    298 - Effective Modern C++ 閱讀筆記

    【Effective Modern C++ 閱讀筆記 #1】ch4 - Smart Pointers 前言, 什麼是 dangling pointer?

    介紹 raw pointer 的缺點 — 無法區分物件/陣列、需手動 delete、可能 dangling,smart pointer 解決這些問題。

    Dec 26, 2022
    閱讀時間 2 分鐘
    Featured image of post 【C++ 基礎語法 #9】C++ (void) var 是什麼寫法? 會做什麼事情?
    211 - C++ 基礎語法

    【C++ 基礎語法 #9】C++ (void) var 是什麼寫法? 會做什麼事情?

    介紹 `(void)var` 的用途 — 避免編譯器跳出 unused variable warning,用於未來可能需要的預宣告。

    Dec 25, 2022
    閱讀時間 1 分鐘
    Featured image of post 【C++ 觀念理解 #3】C++ 理解 for loop (迴圈) 為什麼有時候會有 * ,為什麼有時候會有 &
    291 - C++ 觀念理解

    【C++ 觀念理解 #3】C++ 理解 for loop (迴圈) 為什麼有時候會有 * ,為什麼有時候會有 &

    整理四種 for 迴圈形式 — 索引迴圈、指標迭代、範圍 for(含參考)的差異與用法。

    Dec 25, 2022
    閱讀時間 3 分鐘
    630 - 演算法 Algorithm

    【演算法筆記 #5】Hash 筆記,為什麼要使用 bash,與常見的密碼查詢驗證

    紀錄 Hash 函數核心特性(不可逆、確定性)與 collision 問題 — 用 SHA-256 安全儲存密碼,避免明碼被駭客取得。

    Dec 25, 2022
    閱讀時間 1 分鐘
    1 5678910111213 80
    © 2020 - 2026 嗡嗡的隨手筆記 v1.13.0
    使用 Hugo 建立
    主題 Stack 由 Jimmy 設計