> Of course one should use reference counted objects in a language that > supports them, but C does not. ... > > gl
I'd add: "when there is a need to do so". I don't see a need to go that level with JSBSim. In the beginning, after an aircraft file is loaded, objects are created, and remain intact for the entire lifetime of the program, at which time an orderly destruction of elements occurs. Items that have been created (through "new") are addressed by pointers, which are stored in vectors (generally). In this case, it's all fairly deterministic. Jon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel