返回列表 發帖
  1. string str1="Good morning!";
  2.     char str2[14]="Good morning!";
  3.     cout<<str1<<endl;
  4.     cout<<str2<<endl;
  5.     cout<<str1[0]<<endl;
  6.     cout<<str2[0]<<endl;
  7.     system("pause");
  8.     return 0;   
  9. }
複製代碼

TOP

返回列表