C++入門經典-例6.4-輸出字符數組中的內容

C++入門經典-例6.4-輸出字符數組中的內容 1:代碼如下: // 6.4.cpp : 定義控制檯應用程序的入口點。 // #include "stdafx.h" #include<iostream> using namespace std; void main() { int i; char array[12]={'H','E','L','L','O',' ','W','O'
相關文章
相關標籤/搜索