updated readme
This commit is contained in:
parent
548be13ede
commit
247a66cad1
|
@ -5,18 +5,18 @@ it allocates memory *(in gibibytes (GiB))*
|
||||||
## how to use
|
## how to use
|
||||||
|
|
||||||
- run the executable
|
- run the executable
|
||||||
- enter how many gibibytes you want (max is how many gibibytes of memory you have)
|
- enter how many gibibytes you want (max is how many gibibytes of memory you have...or more!)
|
||||||
- confirm (y)
|
- confirm (y)
|
||||||
- wait for the program to allocate the memory
|
- wait for the program to allocate the memory
|
||||||
- your memory is allocated
|
- your memory is allocated
|
||||||
- press any key or CTRL+C to free the memory and exit the program
|
- press ENTER or CTRL+C to free the memory and exit the program
|
||||||
- ???
|
- ???
|
||||||
- profit
|
- profit
|
||||||
|
|
||||||
## how to compile
|
## how to compile
|
||||||
|
|
||||||
- get a c compiler (i use gcc)
|
- get a c compiler (i use gcc)
|
||||||
- `gcc -o ./allocatememory.exe ./main.c`
|
- `gcc -o ./allocatememory ./main.c`
|
||||||
- ???
|
- ???
|
||||||
- profit
|
- profit
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue