2018年3月29日

ubuntu下的sublime_text解决中文输入问题

摘要: 参考教程: https://www.cnblogs.com/afei-qwerty/p/6710235.html 阅读全文

posted @ 2018-03-29 00:15 CreatorKou 阅读(75) 评论(0) 推荐(0)

c++ vector注意事项

摘要: 1.vector<int> vec(10)和vector<int> vec{10} 不同,前者vec有10个元素0,后者vec有一个元素10 2.vec.clear()和swap() 3.vec元素置为0,std::fill(vec.begin(),vec.end(),0) 4.错误示例: vect 阅读全文

posted @ 2018-03-29 00:13 CreatorKou 阅读(199) 评论(0) 推荐(0)

g++ 编译c++11选项

摘要: https://askubuntu.com/questions/26498/choose-gcc-and-g-version 264down votefavorite96I'm trying to update my C++ compiler to C++11. I have searched a 阅读全文

posted @ 2018-03-29 00:08 CreatorKou 阅读(3935) 评论(0) 推荐(0)

c++ vector能否在类定义中圆括号/大括号初始化

摘要: Why can in-class initializers only use = or {}?In-class initializers (C++11 feature) must be enclosed in curly braces or follow a = sign. They may not 阅读全文

posted @ 2018-03-29 00:06 CreatorKou 阅读(1600) 评论(0) 推荐(0)

稀疏矩阵的加减乘除算法

摘要: 参考数据结构严蔚敏稀疏矩阵乘法 稀疏矩阵加法: 阅读全文

posted @ 2018-03-29 00:01 CreatorKou 阅读(1190) 评论(0) 推荐(0)

导航