🖍️
嗡嗡的草稿倉庫
CtrlK
  • ✏️嗡嗡的草稿倉庫
  • Bash Script
  • Linux
  • C++
    • C++ 一些觀念
    • C++ 條件處理
    • C++ 字串處理
    • C++ 檔案讀取
    • C++ const
    • C++ container
    • C++ struct / class
    • C++ scope
    • C++ function
    • C++ debug
    • C++ multithread / mutex
    • C++ 記憶體管理 (stack/heap)
      • data alignment
      • memset, malloc
      • new, delete, malloc, free
      • 4 byte alignment char*
      • new char memory
      • C++ stack / heap
      • byte alignment continuous
    • Modern C++
    • C++ template
    • C++ clang-tidy
    • C++ Learning resource
    • C++ atomic
    • C++ test
    • C++ MISC
    • C++ library
  • Python
  • Machine Learning (ML)
  • Git
  • VSCode
  • Design Pattern
  • Functional programming
  • WordPress
  • 加密貨幣
  • 省思&雜記
  • 嗡嗡的隨手筆記 (整理完放此)
Powered by GitBook
On this page

Was this helpful?

  1. C++
  2. C++ 記憶體管理 (stack/heap)

new, delete, malloc, free

  • new delete malloc free

  • http://nkeys.logdown.com/posts/472329-c-memory-configuration

  • malloc()、calloc()、realloc()、free()

  • https://ithelp.ithome.com.tw/articles/10204463

  • alloc malloc

  • http://www.yanceymichael.com/2018/03/07/%E5%AF%B9%E4%BA%8Emalloc%E3%80%81alloc%E3%80%81calloc%E3%80%81realloc%E7%9A%84%E5%8C%BA%E5%88%AB%E6%B5%85%E6%98%BE%E7%9A%84%E7%90%86%E8%A7%A3/

Previousmemset, mallocNext4 byte alignment char*

Last updated 2 years ago

Was this helpful?