https://github.com/lamerous/cuimenulib
Simple Console UI writen on CLang
https://github.com/lamerous/cuimenulib
c clang library menu
Last synced: 2 months ago
JSON representation
Simple Console UI writen on CLang
- Host: GitHub
- URL: https://github.com/lamerous/cuimenulib
- Owner: lamerous
- License: gpl-3.0
- Created: 2025-01-20T14:33:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-20T15:20:19.000Z (over 1 year ago)
- Last Synced: 2025-01-28T08:55:21.627Z (over 1 year ago)
- Topics: c, clang, library, menu
- Language: C
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Compilation
1. First of all, you should compile the library using these commands:
```
gcc -c getch.c
gcc -c CUIMenuLib.c
```
2. Next, you should compile your file that uses this library:
`gcc -c yourfile.c`
3. Finally, you should create your binary file:
`gcc getch.o CUIMenuLib.o yourfile.o -o your_bin_filename`
4. All in one block:
```
gcc -c getch.c
gcc -c CUIMenuLib.c
gcc -c yourfile.c
gcc getch.o CUIMenuLib.o yourfile.o -o your_bin_filename
```
Done.
P.S. If you're on Windows you can use a ready-made library getch, by adding #include to CUIMenuLib.h file
P.S.2 You can get compiler.sh file on the CUIMenuLib directory, which also contains these commands