- Joined
- 17 Apr 2003
- Posts
- 6,518
- Location
- hOme
Hard to understand what you mean there because classes don't have return types.
Usually you would have 1 class in it's own file (there are, as always, exceptions to this rule). Without trying to patronise, I think you have 1 class with several methods in? Which is certainly one way of doing things but you lose all the benefits of OO design then.
I would have a separate class for Location and one for Grid (probably one to launch the program too), but without knowing the full context of the problem it is hard to say.
yes i have 1 class with lots of methods but would prefer to use lots of classes linked together
i'm just not sure how to link the classes together, i keep getting errors when i copy whatevers in a method to a new class...

gah i couldnt add one one you guys to msn could i?...
