小複習與未來展望

實習講師 Jason

首先

經過兩階段的考驗

先來看看我們的芽芽成員們都學到了什麼吧

  • 表達式與變數
  • 條件判斷與流程控制
  • 字元 & 字串 與相關函式
  • 陣列們
  • 函式編寫
  • 遞迴

第二階段的大家又學到了什麼呢?

  • 時間複雜度
  • 二分搜與排序
  • 指標、參照、Struct 指標
  • Linked List
  • Template
  • STL 容器

殘酷的階段考(?

不熟悉的範圍

Top 3 都是指標!

指標小複習

其實我做簡報的時候才發現第二階段
本來沒有安排複習 😂😂

指標 = 靈活控制記憶體的工具


int a = 3;
int *b = &a;
cout << b << endl;	// b = &a = the address of a
cout << *b << endl;	// *b = *(&a) = a = the value of a

for(int i = 0; i < 100; i++){
  b = new int;  // allocate new memory with type int to b
  *b = i;       // change value of memory that b points to
  delete b;     // free the memory that b points to
}
						

Struct Pointer


struct node {
  int val;
  node *next;
};

node *a = new node; // allocate new memory with type node
a->val = 1;         // a->val = (*a.val) = the value of val in memory that a points to
a->next = new node;
a->next->val = 2;   // a->next->val = (a->next)->val
a->next->next = nullptr;
						
Basically the same thing.

Linked List

偷渡面試資芽時的 簡報 (內附梗圖一張

就當作自己在串珠珠或火車之類的就好ㄌ

小複習先到這邊

其他部分要請大家自己複習了

(ノ>ω<)ノ

未來展望

講講資工領域都在/可以做什麼?

沿用前幾年學長姐做的簡報

未來展望