mirror of https://github.com/daviddgtnt/calc
Update index.md
parent
5e1b4fa223
commit
6978d2a8e3
10
index.md
10
index.md
|
@ -17,12 +17,4 @@ Dockerfile: File to build the docker image (Version 2.0).
|
||||||
|
|
||||||
### How to build
|
### How to build
|
||||||
|
|
||||||
#### Windows
|
See [here](https://github.com/daviddgtnt/calc#building)
|
||||||
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`
|
|
||||||
To run it, type `calc` at the prompt, or double-click the executable.
|
|
||||||
|
|
||||||
#### Linux / macOS:
|
|
||||||
`g++ main.cpp -o calc`
|
|
||||||
To run it, type `./calc` at the prompt, or double-click the executable.
|
|
||||||
|
|
Loading…
Reference in New Issue