Basics of Visual C++.Net

Add to Favourites
Post to:

Description
This tutiorial is a part of online class conducted on wiziq on Beginning to learn the basics of Visual C++. It starts with a background to windows programming and explains the various ways in which a windows applications can be created using Visual Studio Express and discusses at length the solutions and projects that we can create in visual studio and the difference in these two.

The class conducted on wiziq can be downloaded frome here
http://onlinehub.co.in/Default.aspx

Comments
Presentation Transcript Presentation Transcript

Lets Begin Visual C++ : Lets Begin Visual C++ Your guide to visual programming language using Visual Studio.

Windows Programming : 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.

Figure these out.!! : Figure these out.!! What is Windows Programming and How is it different from conventional C/C++ Programming? What is MFC? Conquering the .Net Framework. Working with CLR. Working with Projects and Solutions and how the two differ.

Visual C++ : 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.

Choose your Library. : Choose your Library. Win32 Applications. Win32 is a library of data types, constants, functions, and classes (mainly structures) used to create applications for the Microsoft Windows operating system. 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).

Class Library and CLR : Class Library and CLR The .NET Framework class library is a collection of fully functional object-oriented classes in the tradition of C++ covering all possible areas of application programming including Windows controls, file processing, XML, communication, web, databases, etc. This library is created to be used by various computer languages or programming environments. 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 : 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.

Solutions and Projects : Solutions and Projects A solution can contain multiple projects and a project typically contains multiple items. These containers enable you to take advantage of the IDE in the following ways: Manage settings for your solution as a whole or for individual projects. Use Solution Explorer to handle the details of file management while you focus on items that make up your development effort. Add items that are useful to multiple projects in the solution or to the solution without referencing the item in each project. Work on miscellaneous files that are independent from solutions or projects.

Visual C++ Contd.. : Visual C++ Contd.. You can create Visual C++ projects in several ways: You can use project templates, such as the CLR Console Application Template (C++), to help you quickly create simple projects. You can also use application wizards to help you create a solution. A solution can contain many projects and can be coded in any language that is included with Visual Studio.

Project Types : Project Types Application Wizards Project Templates Code Wizards Property Pages

Visual C++ can be Used for:- : 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.

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
jyoti insan
Certified and experienced IT trainer with 8 years teaching experience
User
5 Members Recommend
20 Followers

Your Facebook Friends on WizIQ

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect