so I have this class in the header
class C{
int b [2];
init();
}
and in C.cpp I have
C::init(){
bK [2] = {3,7};
}
whereby I try to initialize the class variable b which is an array
but then the compiler returns the error expected ; before { token
and expected primary expression before { token
what did i do wrong and how do I properly initialize array class variables?