I have made the Graph class, and i want to simulate a distribution network. The Graph works 100%. But, i want to use that same struct/class in all my application! For example: I
Take a look at the Singleton pattern for one possible approach to having a common object:
Singleton Pattern