Using Microsoft Visual Studio 2005 - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

Using Microsoft Visual Studio 2005

Description:

Visual Studio 2005 gets launched and a Start Page - Microsoft Visual Studio window appears ... button from the Start Page - Microsoft Visual Studio window ... – PowerPoint PPT presentation

Number of Views:22
Avg rating:3.0/5.0
Slides: 12
Provided by: vishwanat6
Category:

less

Transcript and Presenter's Notes

Title: Using Microsoft Visual Studio 2005


1
Using Microsoft Visual Studio 2005
2
Topics
  • Launching Visual Studio 2005 (VS2005)
  • Creating VS2005 Project
  • Creating VS2005 File
  • Saving VS2005 File
  • Adding source File into existing project
  • From Source File to Executable File
  • Closing VS2005 Project/Solution
  • Opening an existing VS2005 Project/Solution

3
Launching VS2005
  • Click the Start button from the Windows taskbar
    and select Programs ? Microsoft Visual Studio
    2005 (application) ? Microsoft Visual Studio 2005
    (Executable)
  • A Choose Default environment Settings window
    appears
  • Choose Visual C Development Settings
  • Visual Studio 2005 gets launched and a Start Page
    - Microsoft Visual Studio window appears
  • SnapShots of Launching VS2005

4
Creating VS2005 Project
  • Click on New Projects button from the Start Page
    - Microsoft Visual Studio window OR Select New ?
    Projects from the File menu
  • A New Project dialog box appears
  • Select Visual C General from the Project Types
  • Scroll down the Templates icon section and
    select Empty Project icon. Then select a
    location for the project by clicking the Browse
    button by the Location text box, a Project
    Location dialog box appears

5
Creating VS2005 Project (Contd)
  • Select an appropriate location for the project
    and click Open in the Project Location dialog box
  • Now enter a project name in the Name text box of
    New Project dialog box and click OK button
  • A projectName - Microsoft Visual Studio window
    appears
  • SnapShots of Creating VS2005 Project

6
Creating VS2005 File
  • Select New from the File menu, a New File dialog
    box appears
  • Select Visual C from the Categories section
    and C file (.cpp) icon from the Templates
    section of the New File dialog box
  • The file gets created and a Sourcen.cpp tab gets
    created in the projectName - Microsoft Visual
    Studio window to enter source code
  • SnapShots of Creating VS2005 File

7
Saving VS2005 File
  • Enter the source code in the Sourcen.cpp tab
  • Click on the Save Sourcen.cpp As option from the
    File menu
  • Save File As dialog box appears, select
    appropriate project folder
  • Give an appropriate file name in the File name
    text box, and click the save button
  • The file gets saved and a projectName - Microsoft
    Visual Studio filename.cpp window appears
  • SnapShots of Saving VS2005 File

8
Adding Source File into Existing Project
  • Next, click on the Source Files folder in the
    Solution Explorer projectName window on the right
    hand side
  • Then, select Add Existing Item from the Project
    menu
  • Add Existing Item ProjectName dialog box
    appears with the filename.cpp highlighted, just
    click Open
  • The filename.cpp gets added to the project and is
    visible under the source files folder in the
    Solution Explorer projectName window on the right
    hand side
  • SnapShots of adding source file into existing
    project

9
From Source File to Executable File
  • Select Start Without Debugging option from the
    Debug menu
  • A Microsoft Development Environment dialog box
    appears If you would like to build the project
    click Yes
  • The result of the project build appears in the
    output panel. If the program has no errors then
    the output is displayed on a DOS window
  • SnapShots Of Compiling in VS2005

10
Closing VS 2005 Project/Solution
  • Select Close Solution from the File menu
  • To create a new project repeat the steps 4-19
  • SnapShots of Closing Solution in VS2005

11
Opening an existing VS2005 Project/Solution
  • Select Open ? Project from the File menu
  • A Open Project dialog box appears. Go to
    appropriate location of the project and select
    the appropriate FileName.sln file to open the
    solution
  • The ProjectName - Microsoft Visual 2005 window
    with FileName.cpp tab should appear
  • SnapShots of opening an existing VS2005 solution
Write a Comment
User Comments (0)
About PowerShow.com