A classmate asked me "What is the difference between Visual C + + and C + +?" "This is really a problem that beginners will be confused about and more common. Besides, "Is it better to learn C + + first or to learn Visual C + +?" "Is the same problem of unclear concepts, such as asking" what is the difference between English and English dictionaries ". To figure out the answer to this question, you need to understand the concepts of language, tools, libraries, and standards. You can refer to my previous programming Language that note.
A programming language, such as C + +, is fundamentally a set of grammatical systems and a set of rules in the logical realm. To really use the computer to the application language, you need to have a corresponding language implementation , historically, C + + has a variety of implementations, such as the early Cfront, the former turbo C + +, now popular Visual C + + and GCC. These specific implementations, in the form of tools , exist in the computer, such as compilers, linker, and so on.
But simple language implementation is not solve the actual demand, so many implementations have provided additional libraries , the initial implementation of the library are different, which led to the same language different implementation before the transplant difficulty, so the industry has formed a standard committee for C + + to develop a standard library , including IO Library, STL and so on. In addition to the standard library, also need a variety of libraries to achieve the needs of various areas, there are a variety of interface libraries, network libraries, such as C + + Common interface Library has mfc,wtl,wxwidgets, GTK+,QT, in order to facilitate the use of these libraries for programmers, Tool vendors integrate some libraries directly into the toolkit, such as Visual C + + In addition to STL support, including MFC and ATL two libraries.
So, C + + is a language, Visual C + + is a toolset, and MFC is a library of programs. To solve the practical problems, the development of application, language, tools and library three aspects of learning is indispensable, and in the Library of learning, the standard library is the most serious.
What is the difference between "go" Visual C + + and C + +?