Skip to content

Commit 6226708

Browse files
Edits
1 parent 0fb743d commit 6226708

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

articles/storage/blobs/quickstart-blobs-c-plus-plus.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,17 @@ From the project directory:
9090
1. Open the *BlobQuickstart.sln* solution file in Visual Studio
9191
1. Inside Visual Studio, open the *BlobQuickstart.cpp* source file
9292
1. Remove any code inside `main` that was autogenerated
93-
1. Add `#include` statements
93+
1. Add `#include` and `using namespace` statements
9494

95-
:::code language="cpp" source="~/azure-storage-snippets/blobs/quickstarts/C++/V12/BlobQuickstartV12/BlobQuickstartV12/BlobQuickstartV12.cpp" ID="Snippet_Includes":::
95+
```cpp
96+
#include <iostream>
97+
#include <azure/core.hpp>
98+
#include <azure/identity/default_azure_credential.hpp>
99+
#include <azure/storage/blobs.hpp>
100+
101+
using namespace Azure::Identity;
102+
using namespace Azure::Storage::Blobs;
103+
```
96104
97105
### Authenticate to Azure and authorize access to blob data
98106

0 commit comments

Comments
 (0)