🖍️
嗡嗡的草稿倉庫
search
⌘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
  • 加密貨幣
  • 省思&雜記
  • 嗡嗡的隨手筆記 (整理完放此)arrow-up-right
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. C++

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

記憶體管理

data alignmentchevron-rightmemset, mallocchevron-rightnew, delete, malloc, freechevron-right4 byte alignment char*chevron-rightnew char memorychevron-rightC++ stack / heapchevron-rightbyte alignment continuouschevron-right
Previousstd::cv_statuschevron-leftNextdata alignmentchevron-right

Last updated 3 years ago