Skip to main content

Learn Visual C++ 2005

Visual Studio Team Edition for Software Developers with MSDN Premium Subscription

What Is Visual C++ 2005?

Microsoft Visual C++ 2005 provides a powerful and flexible development environment for creating Microsoft Windows–based and Microsoft .NET–based applications. It can be used as an integrated development system, or as a set of individual tools. Visual C++ is comprised of these components:

Visual C++ 2005 compiler tools - The compiler has new features supporting developers that target virtual machine platforms like the Common Language Runtime (CLR). There are now compilers to target x64 and Itanium. The compiler continues to support targeting x86 machines directly, and optimizes performance for both platforms.

Visual C++ 2005 Libraries - This includes the industry-standard Active Template Library (ATL), the Microsoft Foundation Class (MFC) libraries, and standard libraries such as the Standard C++ Library, and the C RunTime Library (CRT), which has been extended to provide security enhanced alternatives to functions known to pose security issues. A new library, the C++ Support Library, is designed to simplify programs that target the CLR.

Visual C++ 2005 Development Environment - Although the C++ compiler tools and libraries can be used from the command-line, the development environment provides powerful support for project management and configuration (including better support for large projects), source code editing, source code browsing, and debugging tools. This environment also supports IntelliSense, which makes informed, context-sensitive suggestions as code is being authored.

In addition to conventional graphical user-interface applications, Visual C++ enables developers to build Web applications, smart-client Windows-based applications, and solutions for thin-client and smart-client mobile devices. C++ is the world's most popular systems-level language, and Visual C++ gives developers a world-class tool with which to build software.

What Are the Differences Between the Visual C++ Editions?

The Visual C++ 2005 Express Edition is a lightweight, easy to use and easy to learn tool for hobbyist, novice, and student developers who want to build dynamic Windows applications. The Visual C++ 2005 product team has put together a series of Hands-on Tutorial Videos for people who are new to the Express Edition.

For the professional developer who needs the ultimate in power in order to design and produce timely and robust Windows and Web applications, Visual C++ is included with the award-winning Visual Studio interactive development editor (IDE). There are currently three different editions of Visual Studio (all of which include Visual C++). Click here to see a grid comparison of all the Visual C++/Visual Studio editions.

Where Can I Find Sample Applications?

MSDN provides two distinct types of sample applications in order to help developers who are new to Visual C++ 2005 become more productive faster than ever. The first type of sample is a set of walk-through samples, where the developer is taken step-by-step through the process of performing a programmatic task such as extending the famous "Scribble" MFC application to support a plug-in model using .NET to demonstrating the use of reflection in a pure MSIL (Microsoft Intermediate Language) application.

In addition, MSDN also features a Visual C++ 2005 Samples page dedicated to samples that cover every aspect of programming with Visual C++ 2005. This includes such tasks as programming with Standard Template Library (STL), ATL, internationalization, .NET interoperability, Platform SDK and much more.

Finally, if you can't find the exact example you're looking for, we recommend browsing through the list of third-party community sites where you'll find thousands of source-code examples and tutorials.

How Do I Learn More About Visual C++ 2005?

MSDN provides many starting points for learning about Visual C++ 2005 depending on your need. If you're looking for product information such as a feature overview or system requirements, you can visit the Product Information page. On other hand, if you're looking to learn more about the product from a usage (developer) standpoint, here are some great resources that will help get you underway very quickly:

  • What's New in Visual C++ 2005 - Discover all the changes to the libraries, IDE and compiler as well as information on such topics as how to port, or upgrade, your existing projects.
  • Getting Started - This page contains links to such information as supported platforms, Visual C++ settings and how to create and manage your Visual Studio 2005 projects.
  • Guided Tour - For the newcomer to Visual C++, this page could become your best friend as it covers many common tasks such as how to: compile a code example found on MSDN, create a command-line applications, convert between different types, use the IDE more efficiently, create and use dynamic and static libraries and more. There's even a page for Unix developers new to Visual C++.
  • How do I ... ? - As software developers we're always wanting to learn more. Therefore, we've created a page for such inquisitive people where the most commonly asked about topics are categorized for your convenience. For example, if you have a question regarding the performance of a mixed-mode application (containing both native and managed code), you would go to the How-To page and click on Interop where where one of the topics is entitled Performance Considerations for Interop (C++).

Comments

Popular posts from this blog

Simple Windows Registry Access

The Windows registry is an excellent place to store program information. From recent file lists to program settings, the registry provides programmers with a central location to store information for future use. Registry access can be quite simple, provided that you accept a few limitations. First, you must be willing to store your registry values on a per-user basis (rather than for all users). Second, you may only read and write values to your own application's registry branch. Poking around in arbitrary places in the Windows registry is somewhat more complicated than the method provided in this article. Do not assume that the constraints mentioned above render this method of registry access useless. I personally use this registry access method for all of my applications, using the advanced access method only when necessary. The simple method described below will do everything you need it to do for simple storage of application specific information. Enabling Registry Access The ...

Transferring Data From One Dialog Box to Another

In this exercise, we will learn how to exchange data from one dialog box to another. Start Microsoft Visual C++ On the main menu, click File -> New... Click the Projects property sheet and click MFC AppWizard (exe) In the Location box, specify a complete path for the folder, such as C:\Programs\MSVC In the Project Name: box, type ExoTransfer and click OK In the MFC AppWizard - Step 1, click the Dialog Based radio button. Click Finish and click OK Design the default dialog box by adding an Edit Box IDentified as IDC_FIRSTNAMEDLG1 Add a second Edit Box IDentified as IDC_LASTNAMEDLG1 Add one more Edit Box IDentified as IDC_FULLNAMEDLG1 Add a Button IDentified as IDC_CREATEACCOUNT and the Caption as C&reate Account... Set all three Edit controls read only by clicking the Read-Only check box of each (in the Edit Properties window). Press Ctrl + W to access the ClassWizard (I using Microsoft Visual C ++ 5/6 for this exercise and not MSVC .NET) Click Member Variables and Add Variabl...

Visual C++ FAQs part-1

Q 1. How to get application currently activated, Name of Application and Window Caption ? A. [GetForegroundWindow]for getting handle of application which currently have Keyboard Focus [GetWindowText] retrieve the Caption Text associated with Windows handle [GetWindowModuleFileName] return with the path of application! Q 1.02 How to get drive volume serial number in VC++ ? A.Either Use [GetVolumeInformation] or see here http://msdn.microsoft.com/library/default.asp?url= /library/en-us/fileio/fs/enumerating_mount_points.asp Q 1.03 How to get the absolute path of the virtual folder like My Doucuments, Recycle Bin etc.? A. Check out the help on [SHGetSpecialFolderPath()] and [SHGetFolderPath()] Q 1.04 Is there is any wrapper present for the Xml Parser in Visual C++? A.Maybe you'll find some interesting things http://www.codeproject.com/cpp/#Parsers Q 1.05 How i can change my console display mode to full screen mode in a dos based c++ program? A.You will have to use the [SetConsoleWin...