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

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. void hello();
  5. int myPlus(int ,int ,int );

  6. int main()
  7. {
  8.    
  9.     hello();
  10.     cout<<myPlus(1,2,3)<<endl;
  11.     system("pause");
  12.     return 0;   
  13. }
  14. int myPlus(int c,int v,int b)
  15. {
  16.     return c+v+b;   
  17. }
  18. void hello(){
  19.     cout<<"Hello"<<endl;
  20. }
複製代碼
hahahahahahahaha

TOP

返回列表