Maybe I'm missing something here, but to me the solution that jumps out is to make an Aquarium class which has the fish vector as a member and populates that vector with fish in its constructor (possibly with parameters for the number of fish and such which can be specified in main.cpp via constructor arguments).