+ All Categories
Home > Documents > Programming with Visual Studio 2005.NET A short review of the process.

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

Date post: 04-Jan-2016
Category:
Upload: patrick-mcdaniel
View: 214 times
Download: 1 times
Share this document with a friend
22
Programming with Visual Studio 2005.NET A short review of the process
Transcript
Page 1: Programming with Visual Studio 2005.NET A short review of the process.

Programming with Visual Studio 2005.NET

A short review of the process

Page 2: Programming with Visual Studio 2005.NET A short review of the process.

2

Windows Programming Environment - MS Dev Studio

Page 3: Programming with Visual Studio 2005.NET A short review of the process.

Visual Studio .NET

Page 4: Programming with Visual Studio 2005.NET A short review of the process.

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

Page 5: Programming with Visual Studio 2005.NET A short review of the process.
Page 6: Programming with Visual Studio 2005.NET A short review of the process.

New Project Window

Page 7: Programming with Visual Studio 2005.NET A short review of the process.

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.

Page 8: Programming with Visual Studio 2005.NET A short review of the process.
Page 9: Programming with Visual Studio 2005.NET A short review of the process.
Page 10: Programming with Visual Studio 2005.NET A short review of the process.

10

Windows ProgrammingAdd Libraries

• Project -- Properties

• linker tab -- category = Input -- add library names to “Additional Dependencies”

• for sockets, add “wsock32.lib”

Page 11: Programming with Visual Studio 2005.NET A short review of the process.
Page 12: Programming with Visual Studio 2005.NET A short review of the process.

Add Libraries

Page 13: Programming with Visual Studio 2005.NET A short review of the process.

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)”

Page 14: Programming with Visual Studio 2005.NET A short review of the process.
Page 15: Programming with Visual Studio 2005.NET A short review of the process.
Page 16: Programming with Visual Studio 2005.NET A short review of the process.

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.

Page 17: Programming with Visual Studio 2005.NET A short review of the process.
Page 18: Programming with Visual Studio 2005.NET A short review of the process.

Active / Debug Configuration

Page 19: Programming with Visual Studio 2005.NET A short review of the process.

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”

Page 20: Programming with Visual Studio 2005.NET A short review of the process.
Page 21: Programming with Visual Studio 2005.NET A short review of the process.
Page 22: Programming with Visual Studio 2005.NET A short review of the process.

Summary

• Visual Studio 2005 conceptually identical to earlier versions

• Some syntax (views) change a little.


Recommended