串的赋值操做(C++)

#include <iostream> #include <malloc.h> using namespace std; typedef struct { char* ch; int length; } Str; void Strassign(Str& str,char *ch)//结构体的引用 { cout<<str.ch<<endl; if(str.ch
相关文章
相关标签/搜索