![Page 1: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/1.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/2.jpg)
2
Windows Programming Environment - MS Dev Studio
![Page 3: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/3.jpg)
Visual Studio .NET
![Page 4: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/4.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/5.jpg)
![Page 6: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/6.jpg)
New Project Window
![Page 7: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/7.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/8.jpg)
![Page 9: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/9.jpg)
![Page 10: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/10.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/11.jpg)
![Page 12: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/12.jpg)
Add Libraries
![Page 13: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/13.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/14.jpg)
![Page 15: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/15.jpg)
![Page 16: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/16.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/17.jpg)
![Page 18: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/18.jpg)
Active / Debug Configuration
![Page 19: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/19.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/20.jpg)
![Page 21: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/21.jpg)
![Page 22: Programming with Visual Studio 2005.NET A short review of the process](https://reader035.vdocument.in/reader035/viewer/2022070400/56649f155503460f94c2a7eb/html5/thumbnails/22.jpg)
Summary
• Visual Studio 2005 conceptually identical to earlier versions
• Some syntax (views) change a little.