由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - How to initialize 2d vector? Thanks
相关主题
vector在constructor里初始化呼唤大侠们,我实在不能实现C++泛型的精神。
C++ Template Question关于C++ STL编译的疑问
Is it possible to initialize container in initialization list?请问如何把初始化一个const 的vector (or array) in a class?
码工试题 (转载)find bugs of c++ codes
能帮我看看Ruby的这道题吗?问一个C++的问题
static vector 怎么 initialize ?stack/heap corruption
c++ initialize struct问个C++ 中拷贝vector的问题
C++ read matrix from txt fileIn STL, how big is the initial size for a vector?
相关话题的讨论汇总
话题: initialize话题: vector话题: 2d话题: matrix话题: foo
进入Programming版参与讨论
1 (共1页)
x******a
发帖数: 6336
1
Class Foo{
public:
static const vector A;
};
I would like to initialize the Matrix A with data from a txt file. Thanks!
m*******l
发帖数: 12782
2
what would you do for a 2D array?

【在 x******a 的大作中提到】
: Class Foo{
: public:
: static const vector A;
: };
: I would like to initialize the Matrix A with data from a txt file. Thanks!

k**********g
发帖数: 989
3
Declare array
http://cpptruths.blogspot.com/2011/10/multi-dimensional-arrays-
Initialize from text file
... 找小留。
i***c
发帖数: 26
4
用一维数组

【在 x******a 的大作中提到】
: Class Foo{
: public:
: static const vector A;
: };
: I would like to initialize the Matrix A with data from a txt file. Thanks!

1 (共1页)
进入Programming版参与讨论
相关主题
In STL, how big is the initial size for a vector?能帮我看看Ruby的这道题吗?
c++ 一问static vector 怎么 initialize ?
Question about vector as a class memberc++ initialize struct
一个 default constructor 的问题C++ read matrix from txt file
vector在constructor里初始化呼唤大侠们,我实在不能实现C++泛型的精神。
C++ Template Question关于C++ STL编译的疑问
Is it possible to initialize container in initialization list?请问如何把初始化一个const 的vector (or array) in a class?
码工试题 (转载)find bugs of c++ codes
相关话题的讨论汇总
话题: initialize话题: vector话题: 2d话题: matrix话题: foo