將字符串"BASIC"按照相反順序輸出

將字符串"BASIC"按照相反順序輸出。ios 程序1:用cout.put輸出單個字符的成員函數put函數 #include<iostream>spa using namespace std;blog int main()字符串 {get char *p = "BASIC";博客 int i = 0;io for (i = 4; i >= 0; i--)class {stream cout.put
相關文章
相關標籤/搜索