mirror of https://github.com/daviddgtnt/calc
Update index.md
parent
0c08f1f05e
commit
5e1b4fa223
13
index.md
13
index.md
|
@ -5,21 +5,20 @@
|
||||||
Welcome to the website for David Calc.
|
Welcome to the website for David Calc.
|
||||||
|
|
||||||
### Downloads
|
### Downloads
|
||||||
Downloads are available at [DavidDGTNTDL](https://daviddgtnt.github.io/dl)
|
Downloads are available at [the GitHub releases page](https://daviddgtnt.github.io/calc/releases);
|
||||||
|
|
||||||
### Features planned
|
### Features planned
|
||||||
* Divide by zero protection
|
* None currently planned
|
||||||
* GUI with Visual C++
|
|
||||||
|
|
||||||
### File explanation:
|
### File explanation:
|
||||||
terminal.cpp: Main file for all operating systems.
|
main.cpp: Main file for all operating systems (Version 2.0).
|
||||||
windows-desktop.cpp: Windows Desktop file, only works on Windows / DOS and made to run with a double-click on the desktop.
|
windows-desktop.cpp: Windows Desktop file, only works on Windows / DOS and made to run with a double-click on the desktop. (Version 1.0)
|
||||||
Dockerfile: File to build the docker image.
|
Dockerfile: File to build the docker image (Version 2.0).
|
||||||
|
|
||||||
### How to build
|
### How to build
|
||||||
|
|
||||||
#### Windows
|
#### Windows
|
||||||
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 main.cpp. If you are going to use your file manager / the desktop, use windows-desktop.cpp.
|
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? Keep in mind the one for the desktop is still version 1.0. If you are gonna use the command line, use main.cpp. If you are going to use your file manager / the desktop, use windows-desktop.cpp.
|
||||||
|
|
||||||
`g++ <main.cpp / windows-desktop.cpp> -o calc.exe`
|
`g++ <main.cpp / windows-desktop.cpp> -o calc.exe`
|
||||||
To run it, type `calc` at the prompt, or double-click the executable.
|
To run it, type `calc` at the prompt, or double-click the executable.
|
||||||
|
|
Loading…
Reference in New Issue