Heh, thats a little more like C than C++, for C++ you'd want to use a virtual method and dynmically resolve the category <G> ... its been a while, I'm all Java these days.
Ya, I've been there myself. Had to suffer through a couple terms of COBOL/RPG even, what a complete waste of time that was /forums/images/icons/smile.gif.
Ah well, if you can learn C++ well (and I mean understand the reasons *why* multiple inheritence needs to be resolved explicitly, where we use virtuality, etc), then you will not have a problem with most any language you encounter afterwards.
IMO its not soo much how many languages you learn as how well you learn one. Its almost like theres a glass ceiling, and you need to learn one language better in order to grow in the others .. blah blah ...
Anyhow, have fun with Java /forums/images/icons/smile.gif. I love it and won't even give C/C++ a second look any longer -- STL or no.
It's a pretty major language in the computer business, especially for any kind of application development. Many modern OSs are also heavily laden with c++.
Is it brain racking?
I don't know about brain racking -- I think the hardest part is thinking in terms of object design, instead of monolithic design. This applies to any object-oriented language.
I'm in the Objective-C camp myself (by necessity) but have done c++ in the distant past.
This is an older thread, you may not receive a response, and could
be reviving an old thread. Please consider creating a new thread.
Vintage Mustang Forums
A forum community dedicated to vintage Ford Mustang owners and enthusiasts. Come join the discussion about restoration, modifications, NOS parts, troubleshooting, VIN codes, and more!