I want to simulate a neural network with c++. The problem is that i never used objects seriously
For the moment i'll stick to feed forward networks.
I need to create a Cell object with all its properties (kind of cell, connections to other cells, activation state & some flags etc...), but where should i place all the cells?
1) in an array of Cells?
can I create arrays of objects? I guess the answer is yes, but could anyone give me some hints?
2) should i place the array of cells in a new object called Network?

This is more tricky:
Cells will have a property with all the connections to oter cells; pointers I suppose, but I need to create two more objects, input_Cell & output_Cell. These i will place at the beginning and the end of the network, so that i can set the input and read the output. But how can i make allthese three objects (Cell, input_Cell & output_Cell) compatible with the connections property?
I guess that has something to do with inheritance: am i right?
Shold I define a basic object (basic_Cell) that will have 3 different particular cases, and then set the connections among these primary basic_Cell?

thank you