> That's simply not true - the only overhead that could be caused by C++ > is a slightly larger memory usage because one tend to encapsulate more > data. But that's really not much if measurable at all. > Just have a look at how I used C++ in BFS - it makes the code a lot > better, easier to read and removes many critical pitfalls (like > cleaning up in case of an error - I tend to create those objects on the > stack, so C++ will always clean up automatically when I make a simple > "return"). > Also, C++ has better type safety. i stand corrected. what i actually meant was that you should beware of things like rtti, exceptions etc... using C++ as C with classes is probably equal to using C and pointers to structures. kind regards, Bruno.