瀏覽代碼

week7 acknowledge the use of the works of other people

master
RinRi 1 年之前
父節點
當前提交
e1e17b3202
共有 3 個檔案被更改,包括 5 行新增0 行删除
  1. +2
    -0
      week07/ex3.c
  2. +1
    -0
      week07/ex4.c
  3. +2
    -0
      week07/ex5.c

+ 2
- 0
week07/ex3.c 查看文件

@@ -1,3 +1,5 @@
// Copied and fixed the code from goo.gl/EMpzYz

#include <stdlib.h>
#include <stdio.h>
#include <time.h>


+ 1
- 0
week07/ex4.c 查看文件

@@ -18,6 +18,7 @@ void* myrealloc(void* ptr, size_t prev_size, size_t new_size) {
return res;
}

// Copied and fixed the code from goo.gl/EMpzYz
// test myrealloc using ex3
int main() {
//Allows you to generate random number


+ 2
- 0
week07/ex5.c 查看文件

@@ -1,3 +1,5 @@
// Copied and fixed the code from the slides

#include <stdio.h>

int main() {


Loading…
取消
儲存