【正文】
出處: Professional CThird Edition 作者: Simon Robinson Christian Nagel Jay Glynn Man Skinner Karli Watson Bill Evjen Where C Fits In In one sense, C can be seen as being the same thing to programming languages as .NET is to the Windows environment. Just as Microsoft has been adding more and more features to Windows and the Windows API over the past decade, Visual Basic and C++ have undergone expansion. Although Visual Basic and C++ have ended up as hugely powerful languages as a result of this, both languages also suffer from problems due to the legacies of how they have evolved. In the case of Visual Basic 6 and earlier, the main strength of the language was the fact that it was simple to understand and didn’t make many programming tasks easy, largely hiding the details of the Windows API and the COM ponent infrastructure from the developer. The downside to this was that Visual Basic was never truly objectoriented, so that large applications quickly bee disanized and hard to maintain. As well as this, because Visual Basic’s syntax was inherited from early versions of BASIC (which, in turn, was designed to be intuitively simple for beginning programmers to understand, rather than to write large mercial applications), it didn’t really lend itself to wellstructured or objectoriented programs. C++, on the other hand, has its roots in the ANSI C++ language definition. It isn’t pletely ANSIpliant for the simple reason that Microsoft first wrote its C++ piler before the ANSI definition had bee official, but it es close. Unfortunately, this has led to two problems. First, ANSI C++ has its roots in a decadeold state of technology, and this shows up in a lack of support for modern co