Programming with Visual Studio 2005.NET - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Programming with Visual Studio 2005.NET

Description:

Programming with Visual Studio 2005.NET A short review of the process Windows Programming ... Active / Debug Configuration Windows Programming Build and ... – PowerPoint PPT presentation

Number of Views:104
Avg rating:3.0/5.0
Slides: 23
Provided by: rco149
Category:

less

Transcript and Presenter's Notes

Title: Programming with Visual Studio 2005.NET


1
Programming with Visual Studio 2005.NET
  • A short review of the process

2
Windows Programming Environment - MS Dev Studio
3
Visual Studio .NET
4
Windows ProgrammingStart New Project
  • Microsoft Visual Studio .Net
  • Start -- Programs -- MS Visual Studio -- MS
    Visual Studio
  • To create a new project
  • From Start Page Create -- Project
  • Identify storage location for new project
  • Provide Project name
  • OK

5
(No Transcript)
6
New Project Window
7
Windows ProgrammingAdd / Create files
  • Project Add Existing Item C File
  • Locate desired files.
  • Repeat for all needed files
  • For new files
  • Project -- Add New Item C File
  • Identify file.

8
(No Transcript)
9
(No Transcript)
10
Windows ProgrammingAdd Libraries
  • Project -- Properties
  • linker tab -- category Input -- add library
    names to Additional Dependencies
  • for sockets, add wsock32.lib

11
(No Transcript)
12
Add Libraries
13
To support Multi-threaded Programs
  • Select Project ? Program Properties
  • Select C/C tab
  • Code Generation subtab
  • Runtime Library item
  • Default is Single-threaded Debug (/MLd)
  • Select Multi-threaded Debug DLL (/MDd)

14
(No Transcript)
15
(No Transcript)
16
Windows ProgrammingSelect Active Configuration
  • Two compile configurations available
  • Release
  • Debug
  • Build select Configuration Manager
  • Select either Debug or Release
  • Note that debug versions create large (megabyte)
    files.

17
(No Transcript)
18
Active / Debug Configuration
19
Windows ProgrammingBuild and Execute Project
  • Build -- Build project_name
  • Check message window for compile and link status.
  • If no errors are indicated, execute program.
  • Debug Start Debugging or Start Without
    Debugging

20
(No Transcript)
21
(No Transcript)
22
Summary
  • Visual Studio 2005 conceptually identical to
    earlier versions
  • Some syntax (views) change a little.
Write a Comment
User Comments (0)
About PowerShow.com