Переглянути джерело

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() {


Завантаження…
Відмінити
Зберегти