Skip to content

Commit

Permalink
Merge branch 'master' into json_constness
Browse files Browse the repository at this point in the history
  • Loading branch information
belugum committed May 18, 2021
2 parents 811ef62 + 7e72f28 commit 7d6f82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting_started/your_first_application.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
This page shows how you can get started with a simple hello world application.

##1. Include
Starting with an empty `main.cpp` file, add `#!cpp #CROW_MAIN` then `#!cpp #include "crow.h"` or `#!cpp #include "crow_all.h"` if you're using the single header file.
Starting with an empty `main.cpp` file, add `#!cpp #define CROW_MAIN` then `#!cpp #include "crow.h"` or `#!cpp #include "crow_all.h"` if you're using the single header file.

!!! note

If you're using multiple C++ source files make sure to have `#CROW_MAIN` defined only in your main source file.
If you're using multiple C++ source files make sure to have `CROW_MAIN` defined only in your main source file.

##2. App declaration
Next Create a `main()` and declare a `#!cpp crow::SimpleApp` inside, your code should look like this
Expand Down

0 comments on commit 7d6f82c

Please sign in to comment.