1 / 12

Visual C++ .NET

Visual C++ .NET. Hong Li. Introduction to .NET. Microsoft announced in June 2000 A new software –development model that allows applications created in disparate programming languages to communicate with each other Allows developers to create Web-based applications. Introduction to .NET.

Download Presentation

Visual C++ .NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Visual C++ .NET Hong Li

  2. Introduction to .NET • Microsoft announced in June 2000 • A new software –development model that allows applications created in disparate programming languages to communicate with each other • Allows developers to create Web-based applications

  3. Introduction to .NET • One key aspect of the .NET strategy is its independence from a specific language or platform • Developer can create a .NET application by using any combination of .NET-compatible languages

  4. Introduction to .NET • Programmers can contribute to the same software project, writing code in the .NET languages in which they are most proficient • Such as Visual C++.NET, C#, Visual Basic.NET and many others

  5. Visual C++ .NET • Known as a visual programming language-the developer uses graphical tools, such as Visual Studio.NET, to create applications • Visual C++ uses MFC • .NET provides an additional library for implementing GUI, networking, multithreading and other capabilities

  6. Visual C++.NET • Visual C++.NET introduces Managed Extensions for C++ that enable a programmer to access the .NET framework. • Programmers can use the .NET to create objects that provide automatic memory management • C++ -- standard C++ • MC++ -- managed extension to C++ • Visual C++.NET – compiler used to write both managed and unmanaged code

  7. How to use Visual Studio .NET IDE( integrated development environment) • From Start->program • Click Microsoft visualStudio.NET • Click New Project to create a new project • Or select a recent project on start page • Or from file->new to create new project • Or from file->open to open an existing project

  8. How to use VisualStudio.NET • In pop-up window • select visual C++ projects in left panel • Select Console application in right panel • Give a name to the project by Name • Select a location where project will be created • Click OK

  9. To create an unmanaged project ( write a standard C++ code) • In pop-up window, • Click application setting • Select empty project • Click finish

  10. To add a source file: • From file->new->files • Or from solution explore window, right click on source file and select add->add new item (If you don’t see solution explore window, from view->solution explore) • In pop-up window, click C++ file(.cpp) , name the file and select a location and then click open.

  11. Create a window project • From File->new ->project • Select Windows form application • Name the project, select a location then click ok.

  12. Compile, build and exectute • To compile a .cpp file, • Click build->compile • To build the project • Click build->Build Solution • To exectue • Click Debug->start without Debugging • (You can run debug when you need to)

More Related