Professor Oak, the creator of Pokedex, is planning to add a browser to it, to modernize it for the internet era. You are tasked with building the initial navigation system that will eventually go on to become the Pokebrowser Create a text-based simulation of a web browser’s navigation system (Back / Forward / Go) and — as a bonus — support multiple tabs where each tab keeps its own navigation history. This is a simulation only: you can use example website names (strings like Google, GFG.com, YouTube) and let the user navigate between them. Do not build a real browser.
-
Install a C++ compiler:
- Linux/macOS → GCC (
g++) - Windows → MinGW or Microsoft Visual C++ Build Tools
- Linux/macOS → GCC (
-
Ensure the compiler is added to your system PATH.
-
Run
g++ start.cpp -o main
./main