返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     void hello()
  7.         {
  8.                 cout<<"Hello"<<endl;
  9.     }
  10.     int myPlus(int x,y,int z)
  11.     {
  12.             return x+y+z;
  13.     }
  14.     int main()
  15.     {
  16.             hello();
  17.             cout<<myPlus(2,5,1)<<endl;
  18.        
  19.        
  20.         }                                          
  21.     system("pause");   
  22.     return 0;
  23. }      
複製代碼

TOP

返回列表