返回列表 發帖
本帖最後由 林政瑜 於 2019-11-29 20:27 編輯
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {      
  6.     char strc[]="大家好!我叫王小明!";
  7.     for(int i=0; i<20; i++)
  8.     cout<<strc[i];  
  9.     system("pause");
  10.     return 0;
  11. }
複製代碼

TOP

返回列表