Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
rinri
/
operating-systems-course
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
week7 acknowledge the use of the works of other people
master
RinRi
há 1 ano
ascendente
9ab16f2603
cometimento
e1e17b3202
3 ficheiros alterados
com
5 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+2
-0
week07/ex3.c
+1
-0
week07/ex4.c
+2
-0
week07/ex5.c
+ 2
- 0
week07/ex3.c
Ver ficheiro
@@ -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
Ver ficheiro
@@ -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
Ver ficheiro
@@ -1,3 +1,5 @@
// Copied and fixed the code from the slides
#include <stdio.h>
int main() {
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar