A console-based library management system written in C that provides an interactive interface for browsing books, research papers, journals, newspapers, and movies.
- Secure Login: Password-protected access with a 4-digit PIN
- Interactive Menu System: Easy-to-navigate menu with multiple categories
- Colorful Interface: ANSI color codes for enhanced visual experience
- Multiple Categories:
- Books collection with descriptions
- Research papers on various topics
- Academic journals
- Newspaper listings
- Movie collection with streaming option
- About section
- Operating System: Windows (uses
conio.handsystem("cls")) - Compiler: GCC or any C compiler supporting standard libraries
- Dependencies:
stdio.h- Standard input/outputstdlib.h- Standard library functionsunistd.h- UNIX standard library (for sleep function)conio.h- Console input/output (Windows specific)
- Clone or download the source code
- Compile using GCC:
gcc main.c -o library_system
- Run the executable:
./library_system
- Enter the 4-digit password:
1183 - System will verify credentials and grant access
The main menu offers 6 options:
- List of Books - Browse 10 curated books with descriptions
- Research Papers - Access 7 research topics
- Journals - View 4 academic journals
- Newspapers - Browse 3 newspaper listings
- About - Information about the system
- Movies - Browse movie collection with streaming option
- Auto-clearing screen after each selection
- Animated text with sleep delays for better UX
- Color-coded output for different sections
- Loop-back menu system for continuous browsing
- Secure logout option (press 0)
- Steve Jobs Biography
- 12 Rules for Life
- Atomic Habits
- Leaders Eat Last
- Start with Why
- Psychology of Money
- Theory of Everything
- Deep Work
- The Infinite Game
- The Alchemist
- Coronavirus research
- Alcohol studies
- AI & Machine Learning
- Inflation analysis
- Quantum Computing
- Smoking research
- Science Magazine
- Nature
- International Journal of Computer Vision
- ACM Computer Survey
- John Wick series
- DC movies collection
- Marvel Cinematic Universe films
- System ID: 222-35-1183
- Password: 1183
- Version: Library Version 23.3
- Developer: Student of Daffodil International University
login()- Handles authenticationlibrary()- Main menu navigationbook()- Books listingresearch()- Research papersjournals()- Academic journalsnewspaper()- Newspaper listingsabout()- System informationmovies()- Movie collection with streaming
- Password verification system
- Session timeout on invalid credentials
- Access control with user identification
- Compilation errors: Ensure all required headers are available
- Screen clearing issues:
system("cls")is Windows-specific - Sleep function: May need adjustment for different systems
- Color codes: ANSI codes may not work on all terminals
- Windows: Full compatibility
- Linux/Mac: May require modifications to
conio.hdependencies andsystem("cls")calls
- File-based data storage
- Multiple user support
- Search functionality
- Add/remove content features
- Cross-platform compatibility
- Database integration