Hi! This is a simple project to practice C programming.
The name is CPerpus (Library Information System).
This program simulates a basic library system where you can:
- Login & Register accounts
- View popular book list (e.g., Atomic Habits, Rich Dad Poor Dad, etc.)
- Borrow books
- Return books
- Admin can add or remove books
Follow these steps to install and run the program on Linux:
sudo apt update
sudo apt install build-essential -y
gcc --versiongit clone https://github.com/Chikochiii/SiPerpus.git
cd SiPerpusOr just copy all files (main.c, perpustakaan.c, perpustakaan.h, install.sh, README.md) into one folder.
chmod +x install.sh
./install.shIf successful, you will see:
✅ Installation complete!
./perpus- Run the program:
./perpus
-
Choose from the main menu:
- Login (admin / user)
- Register a new user
- Exit program
-
Default admin login:
Username: admin
Password: admin
- User can borrow and return books.
Admin can add or delete books.
cperpus/
│── main.c
│── perpustakaan.c
│── perpustakaan.h
│── install.sh
│── README.md
This project was made just for learning C language and simulating a simple library system.
If you find bugs or errors, it’s normal since this is a beginner project :v.
Free to use, modify, and share 👍
Please click the ⭐ (star) button if you like this project — it motivates me to create more projects 👉👈
