You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 07-blackjack/README.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,25 @@
1
1
# Blackjack
2
2
3
-
## To use the code
3
+
## Install G++ Compiler
4
+
The g++ compiler is a free, open source compiler available on almost any operating system. g++ is part of the [GNU Compiler Collection](https://en.wikipedia.org/wiki/GNU_Compiler_Collection).
5
+
6
+
### Windows
7
+
If you are running under the windows OS then I recommend you download: [MinGW-w64](http://mingw-w64.org/)
8
+
9
+
### macOS
10
+
Just go to a terminal and type `g++` and it should offer to install
11
+
12
+
### Ubuntu
13
+
```bash
14
+
sudo apt install g++
15
+
```
16
+
17
+
## Install Game
4
18
* Open Terminal and change the current working directory to the location where you want the cloned directory to be made.
5
19
* Download the repository using the [instruction](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository).
6
20
* In the command line go to the directory with the files downloaded:
7
21
```bash
8
22
cd cpp-games/07-blackjack
9
-
```
10
-
11
-
**How to compile game using GCC C++ compiler (g++)**
0 commit comments