[cpp]
#include <iostream>
using namespace std;
void cout_1(); //函數原型
void cout_2();
int main()
{
cout_1(); //呼叫函數
cout_2();
return 0;
}
void cout_1() //函數主體
{
cout << "Three blind mice" << endl; //印出字串
cout << "Three blind mice" << endl;
}
void cout_2()
{
cout << "See how they run" << endl;
cout << "See how they run" << endl;
}
[/cpp]