National Taiwan University
Uedu Main Site
Explore Uedu
Student Console
Register as Member/Login
Research Informed Consent Center
Survey Center
Educational Big Data Challenge
Claim or create a course
Try a Scenario Task
Support & Messages
Uptime Data

UeduGPTs

--

Jupyters

1

Local AI

--

Uedu Code

--

台灣大學 AQI 69 24°C PM2.5 18
AI Reply Desktop Notifications

Show a desktop notification when the AI TA finishes replying

Chat Message Notifications

Notify me when classmates post messages in the forum

Sound notification

Play an alert sound whenever there is a new notification

C++

18 堂互動課,從基本輸入輸出、變數與流程控制,到函式、陣列、指標、參考、物件導向、標準模板庫、例外、檔案、動態記憶體、遞迴、命名空間、多執行緒與模板。逐步執行動畫會畫出每個變數的記憶體位址、指標指向哪裡、new 配置在堆積上的區塊;陣列越界、忘記初始化、delete 後還在用這類錯誤,會停下來說明原因。
18 堂課 approx. 6.6 hour(s)

學習路徑

  1. 01
    C++ 簡介
    C++ 的歷史與特點、第一個程式、從原始碼到執行檔
    Interaction實作導覽 15 minute(s)
  2. 02
    基本輸入輸出
    用 cout 輸出、用 cin 讀入,以及 getline 與輸出格式
    Interaction實作 20 minute(s)
  3. 03
    變數與資料型態
    整數、浮點數、字元與布林,大小、範圍與型別轉換
    Interaction實作 20 minute(s)
  4. 04
    運算子
    算術、比較、邏輯與指定運算子,整數除法與優先順序
    Interaction實作 20 minute(s)
  5. 05
    流程控制
    if、switch、for、while 與 do-while
    Interaction實作 20 minute(s)
  6. 06
    函式
    定義與呼叫、傳值、預設引數與函式多載
    Interaction實作 25 minute(s)
  7. 07
    陣列與字串
    一維與二維陣列、C 字串與 std::string
    Interaction實作 25 minute(s)
  8. 08
    指標
    位址、取值、指標運算與 nullptr
    Interaction實作 25 minute(s)
  9. 09
    參考
    參考是別名、以參考傳遞與 const 參考
    Interaction實作 20 minute(s)
  10. 10
    物件導向基礎
    類別與物件、建構子與解構子、繼承與多型
    Interaction實作 30 minute(s)
  11. 11
    標準模板庫
    vector、list、map、迭代器與常用演算法
    Interaction實作 30 minute(s)
  12. 12
    例外處理
    throw、try、catch 與標準例外類別
    Interaction實作 20 minute(s)
  13. 13
    檔案操作
    用 ofstream 寫檔、ifstream 讀檔與錯誤檢查
    Interaction實作 20 minute(s)
  14. 14
    動態記憶體
    new 與 delete、陣列配置、記憶體洩漏與懸空指標
    Interaction實作 25 minute(s)
  15. 15
    遞迴
    遞迴函式、終止條件與呼叫堆疊
    Interaction實作 20 minute(s)
  16. 16
    命名空間
    定義命名空間、:: 與 using
    Interaction實作 15 minute(s)
  17. 17
    多執行緒
    std::thread、join、競爭條件與 mutex
    Interaction 25 minute(s)
  18. 18
    模板
    函式模板、類別模板與型別推導
    Interaction實作 20 minute(s)