I have a problem. I want to initilize my 2Dim array ,which is a member of a class,in the constructor of a class. For example .
class Foo
{
private:
bool testArray[100][4];
public:
Foo( bool t_array[][4]);
};
in a Foo.cpp file :
Foo::Foo(bool array[][4])
{
// initilize it in there with unknown row size
}
I dont have a specific row size but I know that it will be maximum 100.
How could I initilize my testArray in my constructor? thanks in advance.