8
Microsoft Visual C++/CLI Step by Step
Creating a project
The first task is to create a new project for the “Hello, World” program.
1.
In Visual Studio, on the File menu, point to New, and then click Project. (Alternatively, you can
press Ctrl+Shift+N.)
Note I am using the Professional version of Visual Studio 2012. If you are using oth-
er versions, the way in which you create a project might be different. For example, in
the Express version, you will find New Project on the File menu.
The New Project dialog box opens.
2.
In the navigation pane on the left, under Templates, click Visual C++, and then click CLR. In the
center pane, click CLR Console Application and then, toward the bottom of the dialog box, in
the Name box, type HelloWorld.
Note Depending on how Visual Studio has been set up, you might find Visual C++
under the Other Languages node.
3.
Click the Location list and select a location for your new project or click Browse and navigate
to an appropriate directory.
Do'stlaringiz bilan baham: |