Summary

   

Attributes exist to simplify the development cycle by decreasing the time you spend programming repetitive tasks while increasing the time you have to program the real logic within your application. The use of attributes also reduces a lot of the clutter within source files and consolidates related pieces of code in one file, which helps with the readability of code.

In this hour, you learned how attributes are resolved during the build process and how to view the injected code afterward using a compiler switch or through debugging. You also saw firsthand how attributes have greatly simplified ATL development and reduce common coding mistakes that could happen. Just as project wizards simplified creating the initial projects in the beginning, attributes continue the process by providing context-sensitive code generation capabilities to Visual C++ .NET during the entire development cycle.


   
Top


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net