This website works better with JavaScript.
Home
Explore
Help
Sign In
rinri
/
operating-systems-course
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
week7 acknowledge the use of the works of other people
master
RinRi
1 year ago
parent
9ab16f2603
commit
e1e17b3202
3 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
week07/ex3.c
+1
-0
week07/ex4.c
+2
-0
week07/ex5.c
+ 2
- 0
week07/ex3.c
View File
@@ -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
View File
@@ -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
View File
@@ -1,3 +1,5 @@
// Copied and fixed the code from the slides
#include <stdio.h>
int main() {
Write
Preview
Loading…
Cancel
Save