What should i do for this case
- Change Monomer chain[N][DIM] to Monomer *chain and make the memory allocation in the constructor or exist another way for this an optimize way would be better.
Conformation( )? What's that? They aren't constructors.
Simple answers: You can't initialise an array data member outside a constructor. You can declare one, though. Honestly, though, your question is too obscure.