Denny

@xBi8pWhiRNCyFobssWYAyg

Joined on Dec 30, 2021

  • 目錄clone pull push remote submodule lfs reset reflog stash branch
     Like  Bookmark
  • When it modifies a data declaration, the const keyword specifies that the object or variable isn't modifiable. https://learn.microsoft.com/en-us/cpp/cpp/const-cpp?view=msvc-170 https://learn.microsoft.com/zh-tw/cpp/cpp/const-cpp?view=msvc-170 basic //const declar int i = 42; const int j = i; int k = j;
     Like  Bookmark
  • q_new struct list_head *q_new() { struct list_head *head = malloc(sizeof(*head)); if (!head) return NULL; INIT_LIST_HEAD(head); return head; } q_size
     Like  Bookmark
  • https://littleosbook.github.io/ https://chunyeung.medium.com/%E8%87%AA%E5%88%B6%E4%B8%80%E5%80%8B-linux-%E4%BD%9C%E6%A5%AD%E7%B3%BB%E7%B5%B1-1-1cc4e60ea7f7 2.1 Tools 開發環境: ubuntu(wsl) 使用cat /etc/lsb-release查看版本 $ cat /etc/lsb-release DISTRIB_ID=Ubuntu
     Like  Bookmark
  • introduction :::success :accept: CMake是個一個開源的跨平台自動化建構系統,用來管理軟體建置的程式,並不依賴於某特定編譯器,並可支援多層目錄、多個應用程式與多個函式庫。 它用組態檔控制建構過程(build process)的方式和Unix的make相似,只是CMake的組態檔取名為CMakeLists.txt。CMake並不直接建構出最終的軟體,而是產生標準的建構檔(如Unix的Makefile或Windows Visual C++的projects/workspaces),然後再依一般的建構方式使用 ::: :::info 白話來說就是可以自動生成make file的程式 必要檔案:CMakeLists.txt :::
     Like  Bookmark