N
nb
What kind of problems is c++ best at solving?
nb said:What kind of problems is c++ best at solving?
nb said:What kind of problems is c++ best at solving?
nb said:What kind of problems is c++ best at solving?
Jeff Schwab said: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
Wouter said:Are you considering expressiveness or performance?
I don't know why C++ would score less in string manipulation performance
than Perl would...
Microsoft Visual Basic tends to be better!
(I hope it is realised that I am kidding)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.