Download presentation
Presentation is loading. Please wait.
Published byPatrick McDaniel Modified over 9 years ago
1
Programming with Visual Studio 2005.NET A short review of the process
2
2 Windows Programming Environment - MS Dev Studio
3
Visual Studio.NET
4
4 Windows Programming Start 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
6
New Project Window
7
7 Windows Programming Add / 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.
10
10 Windows Programming Add Libraries Project -- Properties linker tab -- category = Input -- add library names to “Additional Dependencies” for sockets, add “wsock32.lib”
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)”
16
16 Windows Programming Select 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.
18
Active / Debug Configuration
19
19 Windows Programming Build 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”
22
Summary Visual Studio 2005 conceptually identical to earlier versions Some syntax (views) change a little.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.