C++ 实例 - 输出 "Hello, World!"

C++ 教程 · 2019-02-26 09:59:50

使用 C++ 输出字符串 "Hello, World!",只是一个简单的入门实例,需要使用 main() 函数及标准输出 cout

实例

#include <iostream> using namespace std; int main() { cout << "Hello, World!"; return 0; }

以上程序执行输出结果为:

Hello, World!

点击查看所有 C++ 教程 文章: https://codercto.com/courses/l/18.html

查看所有标签

Numerical Linear Algebra

Numerical Linear Algebra

Lloyd N. Trefethen、David Bau III / SIAM: Society for Industrial and Applied Mathematics / 1997-06-01 / USD 61.00

Numerical Linear Algebra is a concise, insightful, and elegant introduction to the field of numerical linear algebra.一起来看看 《Numerical Linear Algebra》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具