【7/31】114學年度第2學期研究生論文口試結束Thesis Defense Ends   ♠   【8/1】115學年度第1學期開始 2026 Fall Semester Begins   ♠   【8/3】暑期班申請課程停修開始(至7日止) Summer Session Withdrawal (8/3-   ♠   【8/18】115學年度入學各級新生、轉學生選課(至20日止) Course Selection for   ♠   【8/21】暑期班結束 Summer Session Ends   ♠   【9/1】教師送繳115學年度暑碩專班成績截止   ♠   【9/1-2】新生領航營(至2日止)   ♠   【9/3-18】受理校際選課(至18日止) Inter-School Selection (9/3-9/18)   ♠   【9/4-7】受理就學貸款申請(4日、7日兩天)   ♠   【9/3-18】受理校際選課(至18日止) Inter-School Selection (9/3-9/18)   ♠   【9/4-7】受理就學貸款申請(4日、7日兩天)   ♠   【9/7】全校各級學生上課開始、註冊日 1. Class Begin 2. Registration   ♠   【9/7-30】弱勢助學金申請(至30日止)   ♠   【9/7】生輔組校內外獎學金申請(依 生輔組公告辦理)   ♠   【9/25】中秋節 Mid-Autumn Festival (no class)   ♠   【9/28】教師節 Teacher's Day (no class)   ♠   【9/29-11/20】期中教學意見反映(至11月20日止) Mid-term Feedback on Teaching   ♠   【10/9-10】國慶日補假 Holiday-Double Tenth Day (no class)國慶日 Double Tenth Day (no class)   ♠   【10/19-12/4】期中成績預警開始(至12 月4日止) Academic Warning System Starts   ♠   【11/11】全校運動大會(停課一天) Sports Day   ♠   【11/27-12/20】教學意見調查開始(至12月20日止) Online Course Evaluation (11/27-   ♠   【12/21-24】期末考試開始(至24日止) Final Exams   ♠   【12/25】行憲紀念日 Constitution Day   ♠   【12/28】寒假開始 Winter Break Begins   ♠  

Title

第12講 C++ standard library

第1節

L12A

第2節

L12B

第3節

L12C

第4節

L12D

Syllabus

章節大綱

L12_A
         map的使用 : Word Count範例
         (Use map to solve " Word Count" problem)
         list的使用 : One-way list 和 Two-way list
         (Use list to construct One-way list & Two-way list)
 
L12_B
         vector的使用 : 猜數字 - 電腦猜
         (Using vector : guess my number - guess by computer)
         -產生所有的答案
         (-Find all possible solutions)
          -過濾掉不符合項目 : erase() + remove_if()
         (-Delete undesirable item  : erase() + remove_if())
         -亂猜一個數字 : rng()和dis()
          (-generate a random guess : rng() & dis())
 
 
L12_C
         vector的使用 : 猜數字 - 電腦猜
         (Using vector : guess my number - guess by computer)
          -去除錯誤答案 : erase() + remove_if()
          (-Delete wrong answers : erase() + remove_if())
 
 
L12_D
         vector的使用 : 猜數字 - 使用者猜
         (Using vector : guess my number - guess by user)
         -輸出最差的提示
         (-Give the most useless hint) 
         上週講義更新 : rvalue補充
         (L11 Lecture note update : additional information
          of rvalue)
 

 【陳煥宗教授-程式設計二課課程講義】