⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tut2-2.html

📁 a Complete C++ language tutorial on the cplusplus.com
💻 HTML
字号:
<html>
<head>
<title>C++ Tutorial: 2.2, Functions (I).</title>
<META NAME="description" CONTENT="Declaring and calling functions. Returning values. use of void.">
<META NAME="keywords" CONTENT="return main function">
</head>

<body bgcolor="white">

<!--captut-->
<CENTER>
<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=1 BORDER=0>
<TR><TD WIDTH=90%>
 <FONT SIZE=4> Section 2.2 </FONT><BR>
 <FONT SIZE=5><B> Functions (I). </B></FONT>
</TD><TD><!--ad--><!--#include virtual="/ad/ad468.shtml"--><!--/ad-->
</TD><TD VALIGN="bottom"><A HREF="http://www.cplusplus.com/doc/tutorial/">
 <IMG SRC="head.gif" ALT="cplusplus.com" BORDER=0></A></TD></TR>
<TR><TD BGCOLOR="#0000FF" ALIGN="center" COLSPAN=3>
 <IMG SRC="head0.gif" WIDTH=2 HEIGHT=2 BORDER=0></TD></TR>
</TABLE>
</CENTER>
<!--/captut-->

<p>
Using functions we can structure our programs in a more modular way, accessing all
the potential that structured programming in C++ can offer us.
<p>
A function is a block of instructions that is executed when it is called from some other
point of the program. The following is its format:<br>
<blockquote>
<tt><b><i>type name</i> ( <i>argument1</i>, <i>argument2</i>, ...) <i>statement</i></b></tt><br>
</blockquote>
where:<br>
&nbsp; <b><i><tt>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -