Run a console-based booking demo for shared workspaces
Learn from a single-file C++ project that uses Windows console APIs and threads
Adapt the matching engine to rank venues by six lifestyle questions
Windows-only because it uses windows.h and the Windows console API; needs a C++11 compiler.
This repository contains a workspace booking program written in C++ that runs entirely inside a Windows terminal window. It is aimed at people looking for shared study and coworking venues, with the listed data set focused on locations in Egyptian governorates such as Cairo, Alexandria, and Qalyubia. The whole project is described as built from scratch as a single program, with no external server or web interface. The user interface lives in the console. The README highlights an animated text layout that uses ANSI color codes, drawn boxes, and explicit cursor positioning to place text in chosen spots on screen. A background thread runs a small widget that types out a slogan while the main menus stay usable, with locking code (called CRITICAL_SECTION on Windows) used to keep the two from drawing on top of each other. The program also includes what the README calls a smart matching engine. It asks the user about six things, listed as financial strategy, sonic environment, technical priorities, tactical spacing, mission nature, and collaboration style, then scores and ranks venues based on those answers. Each venue record shows a rating, a district address, a phone line, and a price. Account handling is built in. Users can register and log in, and the system generates recovery codes that begin with RECOV-. There is a points system that updates as people book venues, plus separate logs for past bookings, written reviews, and a personal favorites list. All of this is stored in plain text files in the project folder: users.txt, bookings.txt, comments.txt, favorites.txt, and a data folder with one text file per governorate. To build the program, the README says you need Windows, because it uses windows.h and the Windows console API, plus any C++ compiler that supports C++11 or newer. The given command compiles a single main.cpp file with g++ at the highest optimization level.
Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.