online C++ compile(在线C++编译器)
一、cpp.sh项目地址: http://cpp.sh/
二、ccp.sh项目介绍
http://cpp.sh/v03/about.html
This is a simple frontend for a GCC compiler. 这是GCC编译器的一个简单前端 The system uses GCC 4.9.2, with Boost 1.55 available. 系统使用GCC 4.9.2,Boost 1.55可用。 Please note that your application is sandboxed and certain system calls may fail. 请注意,您的应用程序已沙盒化,某些系统调用可能会失败。 Please, send your comments and error reports to: admin@cppshell.com
请将您的评论和错误报告发送至:admin@cppshell.com
补充:
沙盒是一种安全机制,为执行中的程式提供的隔离环境,表示有些系统调用是不允许的,但是很多功能都在上面可以直接执行。也足够方便了。
三、关于 GCC 4.9.2
下载 https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc.pdf
四、使用
经典的hello world例子
// my first program in C++ #include <iostream> int main() { std::cout << "Hello World!"; }
五、有个网站 C++ 教程和C++ shell 结合的非常好
https://cplusplus.com/doc/tutorial