Lets Begin Visual C++
Lets Begin Visual C++
Windows Programming
A Windows application primarily appears as a rectangular object that occupies a portion of the screen. This type of object is under the management of the operating system, Microsoft Windows. Based on this, for an application to become useful, it must be opened. An application must have an entry point. On a C++/CLI application, this entry point is a function called main. Whereas, a conventional C/C++ application takes full control of operating system and its difficult for the operating system to claim back memory from the application.
Visual C++
Microsoft Visual C++ is a programming environment used to create computer applications for the Microsoft Windows family of operating systems. It uses C++ as the base language and relies on various libraries to extend it. MSVC supports a large collection of languages (including C++ and Managed C++) and libraries (including Win32, MFC, .NET, and COM, just to name a few). Visual C++ enables developers to Build Web applications Smart-client Windows-based applications Solutions for thin-client and smart-client mobile devices.
MFC Libraries.
The Microsoft Foundation Classes library, or MFC, is a custom implementation of the Win32 library. The MFC offers everything available in Win32 but using the C++ language.
.Net Framework.
This library allows you to create graphical, databases, XML-based, web services, and web-based applications. Once an application has been created and is satisfactorily functional, it can be distributed to people who can use it. To make this possible, the .NET Framework is implemented in two systems: the class library and the common language runtime (CLR).
After an application has been created, it must be compiled so it can be used as necessary. Another goal of the .NET Framework is to make it possible for a library or service created from one language to be used in an application created using another language. To make this possible, code must be compiled so that an external engine, and not the environment used to create code, can compile, manage, and execute it. That's the role of the common language runtime. The CLR takes care of code execution, memory cleanup, thread management, security, etc. Such code is referred to as managed code. Code that is not compiled into the CLR is referred to as unmanaged code.
Creating Projects
A project is defined as a configuration and a group of files that produce a program or final binary file or files. Each project contains at least two configurations a debug configuration and a retail or release configuration.
Project Types
Application Wizards Project Templates Code Wizards Property Pages
Visual C++ can be Used for:Visual C++ enables developers to Build Web applications Smart-client Windows-based applications Solutions for thin-client and smart-client mobile devices.