Tenouk.com |C & C++ Compilers/IDEs


 

 

 

 

 

Steps on how-to install and use the Visual Studio 2008

Standard Edition Part 2

 

 

 

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

 

 

 

 

 

 

 

 

 

 

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

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.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

Click Restart Now to restart you machine.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

The Windows Start menu for Visual Studio 2008 is shown below.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

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.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

The VS 2008 is configuring the development environments to the chosen one for the first time use.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

Well, the following is the VS 2008 IDE. Looks not so different to the VS 2005 other than the color.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

Next let try building and running a simple C++ code. Select File > Project menu.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

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.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

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.

 

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

 

 

Next, build the project. Select Build > Build Helloworld as shown in the following Figure.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

Then, run the project without debugging. Select Debug > Start Without Debugging.

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

Well, finally the console output for the hello world program.

 

 

 

 

 

 

 

 

 

install and use Visual Studio 2008 standard edition on Windows XP Pro SP2 screenshots

 

 

Visual Studio 2008 Standard Edition - Install & Use:Part 1 |Part 2


Tenouk.com |C & C++ Compilers/IDEs

tenouk.com, 2018