Skip to content

Chikochiii/CPerpus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPerpus 📚

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

🔧 Installation (Linux Only)

Follow these steps to install and run the program on Linux:

1. Install GCC Compiler

sudo apt update
sudo apt install build-essential -y
gcc --version

2. Download the Project

git clone https://github.com/Chikochiii/SiPerpus.git
cd SiPerpus

Or just copy all files (main.c, perpustakaan.c, perpustakaan.h, install.sh, README.md) into one folder.

3. Run the Install Script

chmod +x install.sh
./install.sh

If successful, you will see:

✅ Installation complete!

4. Run the Program

./perpus

▶️ Usage

  1. Run the program:
./perpus
  1. Choose from the main menu:

    • Login (admin / user)
    • Register a new user
    • Exit program
  2. Default admin login:

Username: admin
Password: admin
  1. User can borrow and return books.
    Admin can add or delete books.

📂 Project Structure

cperpus/
│── main.c
│── perpustakaan.c
│── perpustakaan.h
│── install.sh
│── README.md

🎯 Purpose

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.


📜 License

Free to use, modify, and share 👍

Message✉️

Please click the ⭐ (star) button if you like this project — it motivates me to create more projects 👉👈

pwissss

About

Library Information System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors