Any component that failed to be installed will be marked with the red cross mark instead of the green tick for the successful. After the installation is completed successfully, you can install the documentation (MSDN library) by following the instruction mention in the above Figure. In this case we just exit the setup wizard by clicking the Finish button.
Click Restart Now to restart you machine.
The Windows Start menu for Visual Studio 2008 is shown below.
Next we will try to build and run a very simple C++/CLI (C++ .NET) program. Launch Visual Studio 2008 by selecting Microsoft Visual Studio 2008 menu > Microsoft Visual Studio 2008 sub-menu. Depending on your programming needs, in this case we will select Visual C++ Development Settings. So, when VS 2008 launched, now and later, all the settings are default to VC++. The VS 2008 IDE will change the development settings to the respective type when we choose to create a project in that type when the IDE already opened next type. Select Start Visual Studio button.
The VS 2008 is configuring the development environments to the chosen one for the first time use.
Well, the following is the VS 2008 IDE. Looks not so different to the VS 2005 other than the color.
Next let try building and running a simple C++ code. Select File > Project menu.
Expand Visual C++ folder > select CLR (Common Language Runtime) in the Project types: window. On the right window for the Templates: select CLR Console Application. Put the project name in the Name: field. Change the project location if needed in the Location: field and rename the Solution Name: if needed. In this case we just put the project name as Helloworld. Click OK.
In the source code template type the following hello world code. The L modifier used for Unicode string (by default and can be changed in the project settings page).
Console::WriteLine(L"Hello World");
Th e WriteLine() method is similar to the printf() function.
Next, build the project. Select Build > Build Helloworld as shown in the following Figure.
Then, run the project without debugging. Select Debug > Start Without Debugging.
Well, finally the console output for the hello world program.
tenouk.com, 2018