Visual C ++. Net foundation lecture

xiaoxiao2021-03-06  106

Foreword

This article first discusses the programming method of Visual C in more detail, and then discusses its learning method, and finally explains the arrangement of the contents of this lecture. Visual C programming method

On May 22, 2003, Microsoft launched three enterprise-class products: Microsoft Windows Server 2003, Visual Studio.Net 2003 and SQL Server 2000 Enterprise Edition 64-bit. Visual Studio .NET 2003 is a second-generation development tool for Microsoft to build and deploy Microsoft .NET software. On this new platform, it includes development tools such as Visual C , Visual Basic and Visual C #.

Visual C .NET includes many new features such as web applications, hosted C extensions, ATL, DCOM, MFC, and support for ATL Server, Windows .NET Framework.

Despite this, the programming method of Visual C can still be divided into two categories: a class is non-WINDOW programming, such as a console program (a program with early DOS, used to learn basic C programming ideas Another category is Window programming, which can be divided into two. One is to directly call the WIN32 API (Application Interface) function for Windows, which is discussed by "Windows Programming" (Fifth Edition). The other is the use of Visual C . "Class" and its functional functions in the MFC (Microsoft Foundation Class, Microsoft Basics) library. Since the MFC is excellent in Win32 API programming, we don't need to understand the Windows internal programming mechanism, you can create the appropriate application framework through the Application Wizard, which meets the most developers' needs, and Make we don't have to add too much code to achieve the most common program function. Therefore, MFC is a programming method that has the deepest programming in Visual C , and this programming will always affect.

Visual C learning method

With regard to Visual C learning methods, many people have this experience: Visual C features are too powerful, and it is impossible to comprehensively master it. Of course, you can't seek shortcuts, but you must take it in practice, and you have to select a direction, this direction must combine your own professional or points. The following learning revelation for learners reference:

To have a strong interest in programming, this is the basic condition for learning Visual C . The high level of interest is often determined to have the extent to which it is.

You don't have to follow the order of C , learn the order of Visual C . Because the side focus between them is very different, C focuses on the cultivation of C programming ideas, while Visual C focuses on Windows applications. However, there is a C basis will definitely help to learn Visual C .

First find a relatively thin Visual C book to see what Visual C can do, and the basic process of implementing.

Learning Visual C must do it in the project, or what you want to do with Visual C . Attack, you can choose the application you see. For example, calculator, notepad, simple graphics drawing software development, etc., even higher themes, such as OpenGL, DirectX, etc., in short, you must do things with it! Standing Some information can help you take some shortcuts and get a specification. E.g:

"Visual C Technical Insider" (Fourth Edition or Fifth Edition or Sixth Edition)

"Windows programming" (fifth edition)

"C programming" (this textbook is everywhere, each has an advantages and disadvantages, as long as you think it can be done)

"STL Tutorial and Reference Manual" (the use of standard template libraries will become a specification)

"Data Structure and Algorithm" (with this foundation, the value of the code is high)

"Software Engineering" (let yourself know the process and related strategies for software development)

Often help others or publish an article for more learning opportunities.

Pay attention to the first achievements of others to inspire their hard work.

Through the certification exam, let you get a more successful return. For example, Microsoft MCSE and MCSD certification exams.

When you feel more familiar with MFC, C is OK, you often open "/ Program Files / Microsoft Visual Studio .NET / VC7 / ATLMFC / SRC / MFC" (Visual C 6.0 in "/ Program Files / Microsoft Visual Source code in the Studio / VC98 / MFC / SRC "). Of course, there must be a lot of can't understand, it doesn't matter, you will not think that MFC is mysterious. Also, you will also find that the interface in www.codeguru.com (including control) custom code is not much different from the MFC source code.

This lecture is the programming platform in Window XP and Visual C .NET (not Visual C 6.0) as a programming platform.

转载请注明原文地址:https://www.9cbs.com/read-97281.html

New Post(0)