You can use C++ to write functions in a custom container of Function Compute. This topic describes how to deploy and invoke a C++ function. You can also modify the C++ sample code as needed for custom development.
Prerequisites
Procedure
Result
After the project is deployed, you can view the temporary domain name that is generated by Function Compute in the output. The temporary domain name can be used to access the newly deployed application. For example, run the following command to access the application:
curl http://cpp-http-function.hello-world-service.188077086902****.cn-hangzhou.fc.devsapp.net
Note You can use the temporary domain name only for demonstration and development purposes.
It is valid for a limited period of time. In a production environment, you must use
a domain name for which an Internet Content Provider (ICP) filing is obtained from
Alibaba Cloud. For more information, see Configure a custom domain name.