1- ## SFML Setup Guide
1+ # SFML Setup Guide
22
33The best way to learn C++ is not by reading books or following
44tutorials. 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
2121a like for the YouTube algorithm. With that out of the way, let's get
2222started.
2323
24- ### SFML Homebrew Setup Tutorial
24+ ## SFML Homebrew Setup Tutorial
2525
2626Note that there are many different ways to setup and run SFML, this is
2727just the approach that helped me get things running very quickly. It boils
@@ -32,7 +32,7 @@ down to 4 simple steps.
32323 . Run clang to compile + link the SFML library with the code in ` main.cpp ` .
33334 . 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
107107And that's how you get SFML up and running on Intel Macs.
108108
0 commit comments