C++语言开发示例:07. 调用函数
calling.cpp
#include <iostream>
void simple();
int main()
{
using namespace std;
cout << "main() will call the simple() function:\n";
simple();
cout << "main() is finished with the simple() function.\n";
}
void simple()
{
using namespace std;
cout << "I'm but a simple function.\n";
} 最后更新于1年前
本文由人工编写,AI优化,转载请注明原文地址: C++语言开发示例:07. 调用函数
推荐阅读
评论 (0)
发表评论
昵称:加载中...
暂无评论,快来发表第一条评论吧!