nb wrote:
What kind of problems is c++ best at solving?
Complicated ones. The more broadly defined the problem, the more
advantage you get from using C++.
In D&E, Stroustrup says C++ never was intended to be "best" at any
particular task. However, it should be at least second-best at almost
anything. For string manipulation, you might want a particular
scripting language, e.g. Perl. For frequent calculations involving
large arrays of numbers, Fortran may be your first choice. However, if
you have to tackle a problem that involves both string manipulation and
vector mathematics, I don't know of a more appropriate language than C++.
-Jeff