it allocates memory
This commit is contained in:
commit
e8a8377330
3 changed files with 74 additions and 0 deletions
25
README.md
Normal file
25
README.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# memory allocator
|
||||
|
||||
it allocates memory *(in gibibytes (GiB))*
|
||||
|
||||
## how to use
|
||||
|
||||
- run the executable
|
||||
- enter how many gibibytes you want (max is how many gibibytes of memory you have)
|
||||
- confirm (y)
|
||||
- wait for the program to allocate the memory
|
||||
- your memory is allocated
|
||||
- press any key or CTRL+C to free the memory and exit the program
|
||||
- ???
|
||||
- profit
|
||||
|
||||
## how to compile
|
||||
|
||||
- get a c compiler (i use gcc)
|
||||
- `gcc -o ./allocatememory.exe ./main.c`
|
||||
- ???
|
||||
- profit
|
||||
|
||||
## why
|
||||
|
||||
i was bored
|
Loading…
Add table
Add a link
Reference in a new issue