Visual Studio 2008 Express Editions



Similar documents
Appendix K Introduction to Microsoft Visual C++ 6.0

Creating a Simple Visual C++ Program

Appendix M: Introduction to Microsoft Visual C Express Edition

Microsoft Visual Studio 2010 Instructions For C Programs

Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++)

3 IDE (Integrated Development Environment)

Introduction to the use of the environment of Microsoft Visual Studio 2008

DEPLOYING A VISUAL BASIC.NET APPLICATION

Word 2010: Mail Merge to with Attachments

How to Compile, Link, and Execute C or C++ Codes Using Microsoft Visual C++

Visual C Tutorial

CS106B Handout #5P Winter January 14, 2008

Generating Visual Studio Project Files

HOW TO BURN A CD/DVD IN WINDOWS XP. Data Projects

Creating a Distribution List from an Excel Spreadsheet

Chapter 6. Using the SQL Server

What is a Mail Merge?

MS Visual C++ Introduction. Quick Introduction. A1 Visual C++

MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.

Microsoft Outlook Tips & Tricks

Working with Image Files (IMG and ISO) Version 3.2

William Paterson University Department of Computer Science. Microsoft Visual C++.NET Tutorial Spring 2006 Release 1.0

Creating tables of contents and figures in Word 2013

Microsoft Project 2013

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

- Hour 1 - Introducing Visual C++ 5

Using SQL Server Management Studio

How to manage the Adaptive Call Recorder (v.9-50)

Microsoft Outlook Web Access Handbook

How to test and debug an ASP.NET application

Subscribe to RSS in Outlook Find RSS Feeds. Exchange Outlook 2007 How To s / RSS Feeds 1of 7

The Application Getting Started Screen is display when the Recruiting Matrix 2008 Application is Started.

Maximizing the Use of Slide Masters to Make Global Changes in PowerPoint

Managing Contacts in Outlook

WINDOWS 7 MANAGE FILES AND FOLDER WITH WINDOWS EXPLORER

Comp151. Definitions & Declarations

Backing Up and Deleting Files

BSDI Advanced Fitness & Wellness Software

Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer

Using the Cute Rich-Text Editor

Basics. a. Click the arrow to the right of the Options button, and then click Bcc.

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Diver-Office Backup and Restore the Database

To add files to your , first create the . When you have opened a new

For Introduction to Java Programming, 5E By Y. Daniel Liang

Step One. Step Two. Step Three USING EXPORTED DATA IN MICROSOFT ACCESS (LAST REVISED: 12/10/2013)

Moving Rockwell Software Activation Keys to the VersaView 200R Industrial Computer

Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide

USER GUIDE. Gateway Computer

Using Microsoft Visual C++ Developer Studio

Sage Peachtree Installation Instructions

Overview... 2 How to Add New Documents... 3 Adding a Note / SMS or Phone Message... 3 Adding a New Letter How to Create Letter Templates...

ITCS QUICK REFERENCE GUIDE: EXPRESSION WEB SITE

WorldShip Install on a Single or Workgroup Workstation

Microsoft PowerPoint 2010 Computer Jeopardy Tutorial

Install the Production Treasury Root Certificate (Vista / Win 7)

Team Foundation Server 2012 Installation Guide

INTRODUCTION TO COMPUTER CONCEPTS CSIT 100 LAB: MICROSOFT POWERPOINT

Using the free iweb webpage templates

Microsoft Office Access 2007 Basics

Developing, Deploying, and Debugging Applications on Windows Embedded Standard 7

Code::Blocks Student Manual

Lab Manual: Using Rational Rose

Lookout Software, LLC. All rights reserved.

Deitel Dive-Into Series: Dive Into Microsoft Visual C++ 6

Working with SQL Server Integration Services

Windows 7 Printer Driver Installation procedure

Microsoft SharePoint 2010 End User Quick Reference Card

Building and Using Web Services With JDeveloper 11g

Installing Windows 7

Eliminate Memory Errors and Improve Program Stability

Appendix A How to create a data-sharing lab

ACTIVE DIRECTORY DEPLOYMENT

Importing Contacts to Outlook

+27O.557+! RM Auditor Additions - Web Monitor. Contents

Quick Reference Guide

GUARD1 PLUS Mini-Attendant File Manager User's Guide Version 2.71

Setting Up ALERE with Client/Server Data

Using Karel with Eclipse

Social Media in Signatures

The basic steps involved in installing FLEETMATE Enterprise Edition and preparing it for initial use are as follows:

Chief Architect X6. Download & Installation Instructions. Chief Architect, Inc N. Mineral Dr. Coeur d Alene, Idaho

Nexsure Training Manual - Admin. Chapter 11

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Job Scheduler User Guide IGSS Version 11.0

Guide to PDF Publishing

UF Health SharePoint 2010 Introduction to Content Administration

MicroStrategy Desktop

Lab 1: Introduction to Xilinx ISE Tutorial

How to Burn CD's And DVD's

Microsoft Word Quick Reference Guide. Union Institute & University

Q N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v Steps to Developing a QNX Program Quickstart Guide

IT Quick Reference Guides Using Windows 7

Exercise. Skills Covered: 8VHWKHUHYLVLRQIHDWXUH

Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3

5.6.3 Lab: Registry Backup and Recovery in Windows XP

Working with Image Files (also known as.img and.iso files)

Smartphone Development Tutorial

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

Introduction To Microsoft Office PowerPoint Bob Booth July 2008 AP-PPT5

Transcription:

Visual Studio 2008 Express Editions Visual Studio 2008 Installation Instructions Burning a Visual Studio 2008 Express Editions DVD Download (http://www.microsoft.com/express/download/) the Visual Studio 2008 Express All-In-One DVD image file. Common utilities for writing ISO file to recordable media such as DVD-R include Nero, and Roxio. The contents of image files can be used as virtual discs using utilities such as ISObuster, Daemon Tools or Virtual CloneDrive for Windows Vista. What is an ISO Image? The Visual Studio 2008 Express Editions All-In-One DVD image is posted as ISO image file. An ISO image Is file is an exact representation of a DVD including the content and the logical format. ISO files end with an.iso extension. Installing Visual Studio 2008 Express Edition After following the DVD burning process above, you are ready to install Visual Studio Express Edition on your computer. Now simply insert the DVD created above into the computer to which you plan to install and double-click the setup.hta file to begin the installer OR browse to the mounted image and double-click the setup.hta to begin the installer. Click on the Microsoft Visual C++ 2008 Express Edition to begin installation. Page 1 of 9

Visual Studio 2008 Environment To start the Visual Studio 2008 Environment: 2008 Click on Start Programs Microsoft Visual Studio 2008 Microsoft Visual Studio The following diagram displays the Visual Studio 2008 Environment: The Microsoft Visual Studio 2008 is designed for creating applications in Graphical Environments. However for the Programming Principles I course this is not necessary because console applications will be created. To create a C++ Console Application click on File New Project. The following dialog appears. Expand the Visual C++ menu and select from the templates on the left the Win32 Console Application. Page 2 of 9

In the Name: textbox enter a name for the project for example Practical 1. Click OK. This will create a folder called Practical under the folder My Documents\Visual Studio 2008\Projects. The following dialog box appears: Click Next to continue. The following dialog box appears: Page 3 of 9

Select the following: Deselect the Precompiled header. Click Finish to continue. The Visual Studio 2008 Environment changes to the following: Perform the following tasks before start writing your code: In the Solution Explorer on the left right-click on stdafx.h and select Remove. Confirm by clicking on the Delete button. In the Solution Explorer on the left right-click on targetver.h and select Remove. Confirm by clicking on the Delete button. In the Solution Explorer on the left right-click on stdafx.cpp and select Remove. Confirm by clicking on the Delete button. The source code editor window: // Practical 1.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { return 0; } Practical 1.cpp Page 4 of 9

Change the code in the code window to the following: The source code editor window: // Program: // Description: // Date: // Name: // Libraries #include <iostream> // Using standard namespace using namespace std; // Declare functions here void main() { cout << "Hello World!" << endl; } // Press any key to continue system("pause"); // Implement functions here Practical 1.cpp After saving a file the coding may begin, saving the file regularly. This means that after writing a few lines of code click on the Save button on the toolbar (see toolbar at the end of this document). Coding is not an easy task. Apart from understanding the language syntax, correct coding guidelines must be followed so that the code must be readable by other programmers. It also helps the programmer to understand the program flow, or reviewing the program after a while. Correct programming techniques are the: - Indentation in coding - Correct program flow - Declaration of variables at the right places - Using comments These are but a few; good programming technique comes with practice and experience. Page 5 of 9

For example the following program illustrates comments and indentation: The source code editor window: // Program: // Description: // Date: // Name: These are comments at the beginning of the program. // Libraries #include <iostream> // Using standard namespace using namespace std; // Declare functions here void main() { cout << "Hello World!" << endl; } // Press any key to continue system("pause"); Indentation is achieved by the TAB key. // Implement functions here Practical 1.cpp Now the file may be compiled by clicking Build Compile button from the menu. The results of the compilation process appear in the bottom of the screen in the Output window. The Visual Studio Environment toolbar: Debug menu Save Save All files Run Project Page 6 of 9

If there are errors in the compilation, the compilation stops and errors are displayed. The line with the error is indicated with an arrow on the left. Errors are displayed here After a successful compilation without errors and no warnings then the program can be saved again (click on the Save button on the toolbar) and the program can be loaded and run. To run a program, simply click on the Run button on the toolbar (see toolbar). After running the program a window appears with the result of your program (the executable code). Meanwhile an executable file is created (.exe). The window will close after the program has finished executing. To exit the Visual Studio Environment session click on File Exit. Page 7 of 9

To open a file, start your Visual Studio 2008 then choose File Open Project/Solution. The Open dialog window then opens as shown below. Then select the desired folder and click Open. Select the Solution file and click Open. This is the location (directory or folder) of the file. Filename Practical 1 is selected. Help in Visual Studio 2008 is readily available. If you click the key F1 after you typed a function (e.g. cout), then the environment searches the help database and displays the help file. Page 8 of 9

The help pages contain examples as well. Look further down the page or the Example link to see the example. The help window can be closed at any time by clicking the on the button. Enjoy programming in Visual Studio 2008!! Beware: Save your files more than once and on different disks!!!! HELP: USE the F1 key on keywords to obtain on-line help!!!!! Page 9 of 9