| title | Azure Storage samples using C++ |
|---|---|
| description | View, download, and run sample code and applications for Azure Storage. Discover getting started samples for blobs, queues, tables, and files, using the C++ storage client libraries. |
| author | stevenmatthew |
| ms.author | shaas |
| ms.date | 10/01/2020 |
| ms.service | azure-storage |
| ms.subservice | storage-common-concepts |
| ms.topic | sample |
| ms.devlang | cpp |
The following table provides an overview of our samples repository and the scenarios covered in each sample. Click on the links to view the corresponding sample code in GitHub.
Note
These samples use the latest Azure Storage C++ v12 library.
:::row::: :::column::: Authenticate using a connection string :::column-end::: :::column::: Create a blob container :::column-end::: :::row-end::: :::row::: :::column::: Get a blob client :::column-end::: :::column::: Upload a blob :::column-end::: :::row-end::: :::row::: :::column::: Set metadata on a blob :::column-end::: :::column::: Get blob properties :::column-end::: :::row-end::: :::row::: :::column span="2"::: Download a blob :::column-end::: :::row-end:::
:::row::: :::column::: Create a service client using a connection string :::column-end::: :::column::: Create a file system client using a connection string :::column-end::: :::row-end::: :::row::: :::column::: Create a file system :::column-end::: :::column::: Create a directory :::column-end::: :::row-end::: :::row::: :::column::: Create a file :::column-end::: :::column::: Append data to a file :::column-end::: :::row-end::: :::row::: :::column::: Flush file data :::column-end::: :::column::: Read a file :::column-end::: :::row-end::: :::row::: :::column::: List all file systems :::column-end::: :::column::: Delete file system :::column-end::: :::row-end:::
:::row::: :::column::: Create a share client using a connection string :::column-end::: :::column::: Create a file share :::column-end::: :::row-end::: :::row::: :::column::: Get a file client :::column-end::: :::column::: Upload a file :::column-end::: :::row-end::: :::row::: :::column::: Set metadata on a file :::column-end::: :::column::: Get file properties :::column-end::: :::row-end::: :::row::: :::column span="2"::: Download a file :::column-end::: :::row-end:::
To view the complete C++ sample libraries, go to:
You can browse and clone the GitHub repository for each library.
Check out the following guides if you are looking for instructions on how to install and get started with the Azure Storage Client Libraries.
For information on samples for other languages:
- .NET: Azure Storage samples using .NET
- Java: Azure Storage samples using Java
- Python: Azure Storage samples using Python
- JavaScript/Node.js: Azure Storage samples using JavaScript
- All other languages: Azure Storage samples