C++ String

来源:互联网 发布:北京培训seo哪个好 编辑:程序博客网 时间:2024/05/23 05:09

C++ for String

#include <iostream>using namespace std;class String{private:    int str_len;    char str[];public:    String(int l = 0, char *s = NULL)    {        cout << "constructor" << endl;    }};int mian(void){    return 0;}
0 0
原创粉丝点击