- C compiler
- ncurses library
-
Linux/Mac OS
- To run the file on a UNIX based system, type the following commands in the terminal:
clang pacman.c -lncurses
./a.out
-
Windows
- To run the file on a Windows system, type the following commands (use correct path) in CMD:
- Note: Include /mingw64/include/ncurses and /mingw64/bin directories while compiling.
gcc /mingw64/include/ncurses pacman.c -lncurses /mingw64/bin -static
a.exe