Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7a3afa7

Browse files
Update readme.
1 parent fdbe8f3 commit 7a3afa7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎005-sfml-setup/README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## SFML Setup Guide
1+
# SFML Setup Guide
22

33
The best way to learn C++ is not by reading books or following
44
tutorials. The best way to learn is to come up with a project idea and
@@ -21,7 +21,7 @@ And of course, if you like this type of content, all I ask in return is
2121
a like for the YouTube algorithm. With that out of the way, let's get
2222
started.
2323

24-
### SFML Homebrew Setup Tutorial
24+
## SFML Homebrew Setup Tutorial
2525

2626
Note that there are many different ways to setup and run SFML, this is
2727
just the approach that helped me get things running very quickly. It boils
@@ -32,7 +32,7 @@ down to 4 simple steps.
3232
3. Run clang to compile + link the SFML library with the code in `main.cpp`.
3333
4. Run the executable.
3434

35-
#### 1. Install homebrew and SFML (via homebrew).
35+
### 1. Install homebrew and SFML (via homebrew).
3636

3737
```bash
3838
# install homebrew, the package manager for MacOS
@@ -51,7 +51,7 @@ brew install sfml
5151
# /opt/homebrew/opt/sfml/ # Symlink to current version
5252
```
5353

54-
#### 2. Create `main.cpp` file with sample SFML code.
54+
### 2. Create `main.cpp` file with sample SFML code.
5555

5656
```cpp
5757
#include <SFML/Graphics.hpp>
@@ -79,7 +79,7 @@ int main() {
7979
}
8080
```
8181

82-
#### 3. Run clang to compile + link SFML library with the code in `main.cpp`.
82+
### 3. Run clang to compile + link SFML library with the code in `main.cpp`.
8383

8484
```bash
8585
# on Intel Macs
@@ -96,13 +96,13 @@ clang++ -std=c++17 main.cpp -o sfml-app \
9696

9797
```
9898

99-
#### 4. Run the executable.
99+
### 4. Run the executable.
100100

101101
```bash
102102
./sfml-app
103103
```
104104

105-
### Conclusion
105+
## Conclusion
106106

107107
And that's how you get SFML up and running on Intel Macs.
108108

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /