02 2017 档案

摘要:#include class String{ public: String(const String& str); String(const char* str); private: char* m_data; }; String::String(const String& str) { int len = strlen(str.m_data) + 1;//在... 阅读全文
posted @ 2017-02-28 18:27 zzyoucan 阅读(229) 评论(0) 推荐(0) 编辑
摘要:#include template class SquareMatrix{ public: void invert(); }; template void SquareMatrix::invert() { T num = n * 5; } int main() { SquareMatrix a; a.invert(); return 0; } 阅读全文
posted @ 2017-02-28 17:53 zzyoucan 阅读(142) 评论(0) 推荐(0) 编辑
摘要:详解mysql int类型的长度值 mysql在建表的时候int类型后的长度代表什么 是该列允许存储值的最大宽度吗 为什么我设置成int(1), 也一样能存10,100,1000呢. 当时我虽然知道int(1),这个长度1并不代表允许存储的宽度,但却没有一个合理的解释. 或者说对这个长度也没有真正的 阅读全文
posted @ 2017-02-02 20:21 zzyoucan 阅读(30551) 评论(3) 推荐(2) 编辑
摘要:转自http://www.linuxidc.com/Linux/2014-11/109545.htm 阅读全文
posted @ 2017-02-02 14:50 zzyoucan 阅读(5203) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示