Skip to content

UsmanPrime/OSIM---Organizational-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Organizational Simulation and Internal Management System

C++ console application that simulates an internal organization with authentication, role-based workflows, task delegation, secure messaging, notifications, performance scoring, and auditing. The entry point is main.cpp; headers live in include/ and implementations in src/, with text-based storage in data/.

Features

Roles at a Glance

  • Junior: view own tasks, mark in-progress, send info/private messages, read inbox.
  • Employee: Junior abilities plus create tasks (policy-gated), delegate tasks, send info/private messages.
  • Manager: Employee abilities plus assign tasks, send alerts, richer message menu, stronger task creation controls.
  • Director: Manager abilities plus view team performance and audit logs.
  • Executive: create tasks, view inbox, send alerts, view performance, view audits, publish notifications.

Data Files

Build & Run

Requires a C++17 compiler (e.g., MinGW g++ on Windows). From the project root:

g++ -std=c++17 -Iinclude main.cpp src/*.cpp -o app
./app   # Windows PowerShell: .\app.exe

Usage Flow

  1. Launch the app, then Register or Login (OTP required on login).
  2. Navigate the role-specific menu to create/assign/delegate/mark tasks, send messages, or view reports.
  3. View notifications and audit/performance reports (Director/Executive access), or publish new notifications (Executive).
  4. Data persists in the data/ text files; clearing a file resets that subsystem’s state.

Project Structure

main.cpp
include/    # Public headers
src/        # Implementations
data/       # Text storage (tasks, users, inbox, notifications, audits, performance)

Notes

  • Messages encrypt with XOR using the recipient’s stored password hash; keep user data private.
  • The console UI uses ANSI colors; if colors do not render on Windows, enable VT processing in your terminal.
  • Keep role values, task status codes, and scoring constants in include/constants.h in sync with any data you edit manually.

About

Organizational Simulation and Internal Management System developed for CS-1004 Object Oriented Programming (Spring 2025). A C++ application demonstrating advanced OOP concepts including inheritance, polymorphism, and encapsulation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors