From 9508c7f149640d64fde2ea6cf1bc246bd574ec9c Mon Sep 17 00:00:00 2001 From: DavidDGTNTSchool <58005558+dugo3number3@users.noreply.github.com> Date: Mon, 8 Feb 2021 15:40:14 -0600 Subject: [PATCH] Update index.md --- index.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/index.md b/index.md index 2a23dcf..5bbff8d 100644 --- a/index.md +++ b/index.md @@ -9,7 +9,22 @@ Welcome to the website for David Calc. ### Features planned * Divide by zero protection -* Binary conversion -* x86 Docker version -* GUI with [Raylib](https://raylib.com) -* Linux and Docker code in the GitHub repo +* GUI with Visual C++ + +### File explanation: +main.cpp: Version for running from the desktop +terminal.cpp: Version for running from the Command Prompt / Terminal (naming depends on OS) +Dockerfile: File to build the docker image. + +### How to build + +#### Regular +First, ask this question. Are you going to double-click this in the file manager / on the desktop or type `calc` in the command line to run it? If you are gonna use the command line, use terminal.cpp. If you are going to use your file manager / the desktop, use main.cpp. + +Windows: +`g++ -o calc.exe` +To run it, type `calc` at the prompt, or double-click the executable. + +Linux / macOS: +`g++ -o calc` +To run it, type `./calc` at the prompt, or double-click the executable.