Skip to content

Commit

Permalink
Update 04_cpp_api.md (#372)
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde authored Sep 5, 2023
1 parent 44182da commit ab050ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tutorials/04_cpp_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ server:
You should see the name of the server followed by its list of models. Here's an
example:

```
```bash
[https://fuel.gazebosim.org]

Beer
Expand All @@ -99,7 +99,7 @@ some configuration. Refer to the [configuration tutorial](configuration.html)
for details about this part of the code. Let's focus on the relevant code for
listing resources:

```
```cpp
for (const auto &server : client.Config().Servers())
{
std::cout << "[" << server.Url().Str() << "]\n\n";
Expand Down Expand Up @@ -127,7 +127,7 @@ their names.
Run the following example to see the details of a model hosted in the default
server:

```
```bash
# Ubuntu and MacOS
./details -o caguero -n Beer -t model

Expand All @@ -138,7 +138,7 @@ server:
You should see the details of the model.
Here's an example:

```
```bash
Name: Beer
Owner: caguero
Version: 2
Expand All @@ -161,7 +161,7 @@ some configuration. Refer to the [configuration tutorial](configuration.html)
for details about this part of the code. Let's focus on the relevant code for
getting details of a resource:

```
```cpp
// Fetch the details.
for (const auto &server : client.Config().Servers())
{
Expand Down

0 comments on commit ab050ca

Please sign in to comment.