updated readme

This commit is contained in:
ari melody 2024-02-12 01:40:58 +00:00
parent 548be13ede
commit 247a66cad1
Signed by: ari
GPG key ID: CF99829C92678188

View file

@ -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