用指向指针的方法对5个字符串排序并输出

#include <iostream> #include <string> using namespace std; void select_sort(string *str,int n); int main() { string str[5]; string *p; char temp[100]; int i; p=str; cout<<"输入5个字符串:"<<endl; for(i=0;i<5
相关文章
相关标签/搜索