An open API service indexing awesome lists of open source software.

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

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