On Friday 25 November 2005 10:55, Jon Dye wrote:
In which case C++ is an odd language to have a go at. You can write non-OO apps in C++ and still benefit from using some of the other benefits like templates and the C++ (and C) standard libraries. If you'd said Java I'd have understood the argument as in Java everything has to be part of an object.
C is just a sebset of C++.. Slowly rewriting an application here using some of the features of C++ (data encapsulation, overloaded functions) and the difference in size of the final binary is minimal. I dare say if/when I start using STL things will go down hill, but fortunately there is little need for it except in perhaps one area. Using C++ gives me the oportunity to link to and use some interesting libraries to process B-Splines and also simplify the user interface.
As for Java - I don't have a good thing to say about it..
Regards, Paul.