update readme

This commit is contained in:
顾咏
2019-04-01 17:34:13 +08:00
committed by TonyZZF
parent fe958d3794
commit 2e42d8fa7f
4 changed files with 16 additions and 16 deletions

2
.gitignore vendored
View File

@@ -11,4 +11,4 @@ examples/build/
test/httpserver/node_modules test/httpserver/node_modules
test/httpserver/package-lock.json test/httpserver/package-lock.json
test/httpserver/nohup.out test/httpserver/nohup.out
.idea

View File

@@ -13,14 +13,14 @@
</p> </p>
欢迎使用阿里云开发者工具套件SDK。阿里云 C++ SDK 让您不用复杂编程即可访问云服务器、云监控等阿里云服务。这里向您介绍如何获取阿里云 C++ SDK 并开始调用。 Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负载均衡、云监控等阿里云服务。这里向您介绍如何获取 Alibaba Cloud SDK for C++ 并开始调用。
如果您在使用SDK的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub [提交 Issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。 如果您在使用的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub [提交 Issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。
## 环境要求 ## 环境要求
在使用 C++ SDK 前,确保您已经: 在使用 Alibaba Cloud SDK for C++ 前,确保您已经:
* 注册了阿里云账号并获取了访问密钥AccessKey * 注册了阿里云账号并获取了访问密钥AccessKey
@@ -35,7 +35,7 @@
* 安装 CMake 3.0 或以上版本 * 安装 CMake 3.0 或以上版本
* 建议 4G 或以上内存 * 建议 4G 或以上内存
## 安装 C++ SDK (从源代码构建) ## 安装 (从源代码构建)
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk) 1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
@@ -89,7 +89,7 @@ sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
sudo sh easyinstall.sh sudo sh easyinstall.sh
``` ```
**C++ SDK 将被安装在 `/usr`.** **Alibaba Cloud SDK for C++ 将被安装在 `/usr`.**
### Windows ### Windows
@@ -113,13 +113,13 @@ msbuild ALL_BUILD.vcxproj
msbuild INSTALL.vcxproj msbuild INSTALL.vcxproj
``` ```
**C++ SDK 将安装在 `C:\Program File (x86)\alibabacloud-sdk` 目录** **Alibaba Cloud SDK for C++ 将安装在 `C:\Program File (x86)\alibabacloud-sdk` 目录**
**注意:请以管理员身份运行 Visual Studio否则无法安装 SDK** **注意:请以管理员身份运行 Visual Studio否则无法安装 SDK**
## 快速使用 ## 快速使用
在调用 C++ SDK时,您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证并指定云服务的地域然后发送API请求。 在调用 Alibaba Cloud SDK for C++ 时,您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证并指定云服务的地域然后发送API请求。
以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。 以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。

View File

@@ -1,4 +1,4 @@
English | [简体中文](./README_zh.md) English | [简体中文](./README-CN.md)
<p align="center"> <p align="center">
@@ -13,11 +13,11 @@ English | [简体中文](./README_zh.md)
</p> </p>
The SDK allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests. Alibaba Cloud SDK for C++ allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.
This document introduces how to obtain and call this SDK. This document introduces how to obtain and call this SDK.
If you have any problem while using C++ SDK, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new). If you have any problem while using Alibaba Cloud SDK for C++, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new).
## Requirements ## Requirements
@@ -75,9 +75,9 @@ If you have any problem while using C++ SDK, please submit an [issue](https://gi
sudo sh easyinstall.sh sudo sh easyinstall.sh
``` ```
**The C++ SDK will be installed to `/usr`.** **The Alibaba Cloud SDK for C++ will be installed to `/usr`.**
### windows ### Windows
1. Install [perl](https://www.perl.org/get.html#win32). 1. Install [perl](https://www.perl.org/get.html#win32).
@@ -111,7 +111,7 @@ If you have any problem while using C++ SDK, please submit an [issue](https://gi
- Build->Build Solutions to build. - Build->Build Solutions to build.
**SDK will be installed to `C:\Program File (x86)\alibabacloud-sdk`** **Alibaba Cloud SDK for C++ will be installed to `C:\Program File (x86)\alibabacloud-sdk`**
## Quick Examples ## Quick Examples
@@ -244,4 +244,4 @@ Please make sure to read the [Contributing Guide](CONTRIBUTING.md) before making
## License ## License
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Copyright 1999-2019 Alibaba Group Holding Ltd. Copyright 1999-2019 Alibaba Group Holding Ltd.

View File

@@ -1,6 +1,6 @@
# 如何运行例程 # 如何运行例程
## 1. 根据 [README](https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/README_zh.md) 安装 SDK ## 1. 根据 [README](https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/README-CN.md) 安装 SDK
## 2. 构建例程 ## 2. 构建例程