This C++ project simulates a virtual archive of major internet events like tech launches and viral memes. It demonstrates core Object-Oriented Programming (OOP) principles such as abstraction, encapsulation, inheritance, and polymorphism — with additional use of file handling and terminal color formatting.
- Load internet events from a text file (events.txt)
- Display events using polymorphic formatting:
- Tech events appear in blue
- Meme events appear in green
 
- Console-based application
- Clear demonstration of OOP concepts
- Lightweight and beginner-friendly
| Concept | How It's Used | 
|---|---|
| Abstraction | InternetEventclass is abstract via a virtual method | 
| Inheritance | TechLaunchEventandMemeEventinherit fromInternetEvent | 
| Polymorphism | displayDetails()behaves differently based on the actual event type | 
| Encapsulation | ArchiveandInternetEventmanage private members via public methods | 
Each event should follow this 3-line format:
- The app detects "Meme" in the title to classify as a Meme event.
- All others are treated as Tech events.
- 
Set up your environment: - Use Windows for full color support (or any ANSI-compatible terminal)
- Install a C++ compiler (e.g., g++)
 
- 
Compile the project: g++ -std=c++17 Internet_Archive.cpp -o Internet_Archive 
- 
Create a file named events.txtand add your internet events as described above.
- 
Run the program: ./Internet_Archive 

Note: Colors will appear only in supported terminals — blue for tech, green for memes.
Shafayat Yeamin Jian
B.Sc. in Computer Science & Engineering
This project is open-source and free to use for any work. Contributions and creative applications of this project are highly appreciated.
