跳转到内容

Cpp class exercise 1:修订间差异

添加264字节 、​ 2019年3月21日 (星期四)
第18行: 第18行:
== Hello World 程序 ==
== Hello World 程序 ==


启动Dev-C++,
按 Ctrl + N (或点击【文件】→【新建】→【源代码】),
新建一个源代码文件
原样输入(不要复制)以下代码:


<syntaxhighlight lang="C++" line>
<syntaxhighlight lang="C++" line>
第30行: 第35行:


</syntaxhighlight>
</syntaxhighlight>
按F11键(或【运行】→【编译运行】)运行。
保存文件为 hello_world.cpp


== 四则运算题 ==
== 四则运算题 ==
1,701

个编辑