📄 fm.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Teach Yourself Visual C++® 5 in 24 Hours -- Introduction</TITLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF">
<CENTER>
<H1><IMG SRC="../button/sams.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM" BORDER="0"></H1>
</CENTER>
<CENTER>
<P><A HREF="../ch01/ch01.htm"><IMG SRC="../button/next.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Next chapter" BORDER="0"></A><A HREF="../index.htm"><IMG SRC="../button/contents.gif"
WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" ALT="Contents" BORDER="0"></A>
<HR>
</CENTER>
<CENTER>
<H1></H1>
<H1><FONT COLOR="#000077">Teach Yourself Visual C++® 5 in 24 Hours</FONT></H1>
</CENTER>
<CENTER>
<P><I>Mickey Williams</I></P>
</CENTER>
<H2><FONT COLOR="#000077"><B>Dedication</B></FONT></H2>
<P>For René, Alex, and Mackenzie.
<H2><FONT COLOR="#000077"><B>Acknowledgments</B></FONT></H2>
<P>As usual, a large number of people deserve my thanks for the help they provided
me for the past few months.</P>
<P>First of all, thanks to all the people at Sams Publishing, especially Brad Jones
and my acquisitions editor, Matt Purcell. Thanks also to Chris Nelson, my development
editor, who gave me great advice about the book's contents; to Erik Dafforn, Tonya
Simpson, and Kate Givens, who did fantastic jobs of editing my manuscript. Finally,
thanks to Greg Guntle, who provided me with a great technical review and helped out
during author review.</P>
<P>I'd also like to thank Bob O'Brien and all the folks at NuMega Technologies for
their help.</P>
<P>Last, but certainly not least, thanks to my wife, René. A wonderful wife,
mother, and friend, she is much more patient than any author, especially me, deserves.
<H2><FONT COLOR="#000077"><B>About the Author</B></FONT></H2>
<P><B>Mickey Williams</B> is the author of Sams Publishing's <I>Develop a Professional
Visual C++ Application in 21 Days</I> and <I>Essential Visual C++ 4</I> and the co-author
of <I>Programming Windows NT Unleashed</I>. Mickey is a member of the ACM and IEEE
Computer Society and the founder of Codev Technologies, a consulting and training
company that specializes in 32-bit Windows development.
<H3><FONT COLOR="#000077"><B>Tell Us What You Think!</B></FONT></H3>
<P>As a reader, you are the most important critic and commentator of our books. We
value your opinion and want to know what we're doing right, what we could do better,
what areas you'd like to see us publish in, and any other words of wisdom you're
willing to pass our way. You can help us make strong books that meet your needs and
give you the computer guidance you require.</P>
<P>Do you have access to the World Wide Web? Then check out our site at <A HREF="http://www.mcp.com"><B>http://www.mcp.com</B></A>.
<BLOCKQUOTE>
<P>
<HR>
<B> </B><FONT COLOR="#000077"><B>NOTE: </B></FONT>If you have a technical question
about this book, call the technical support line at 317-581-3833 or send email to
<A HREF="mailto:support@mcp.com"><B>support@mcp.com</B></A>.
<HR>
</BLOCKQUOTE>
<P>As the team leader of the group that created this book, I welcome your comments.
You can fax, e-mail, or write me directly to let me know what you did or didn't like
about this book--as well as what we can do to make our books stronger. Here's the
information: Fax: 317-817-7070</P>
<P>E-Mail: <A HREF="mailto:bjones@mcp.com"><B>bjones@mcp.com</B></A> <BR>
Mail: Brad Jones <BR>
Comments Department <BR>
Sams Publishing <BR>
201 W. 103rd Street <BR>
Indianapolis, IN 46290
<H2><FONT COLOR="#000077"><B>Introduction</B></FONT></H2>
<P>This book is written for programmers, beginning or experienced, who are new to
Visual C++ and want to develop programs using Visual C++ 5. This book is a no-nonsense
guide to programming for Windows, using plenty of short concise examples, without
a lot of extraneous material or theory. Each hour includes short examples that illustrate
how a different topic can be put to use. In most cases, the examples are limited
to about one page of source code per chapter. This allows you to cover a great deal
of material easily, even if you're not an expert typist.
<H3><FONT COLOR="#000077"><B>What's New in Visual C++ 5.0?</B></FONT></H3>
<P>Visual C++ 5.0 offers many new features and improvements over its predecessor,
Visual C++ 4.0. Following is a summary of the new features that are covered in this
book:
<UL>
<LI>The compiler has improved support for the evolving ANSI C++ draft standard. Boolean
types are now supported, and template support has been improved.<BR>
<BR>
<LI>The development system includes new enhancements to MFC, the Microsoft Foundation
Class library.<BR>
<BR>
<LI>The development environment is more tightly integrated with other visual tools
installed on your computer, such as Visual J++ or the Microsoft Developer Network
(MSDN) Library.<BR>
<BR>
<LI>An improved online help system puts the Microsoft Developer Network in easy reach,
a mouse click away. The online help system will automatically use the latest version
of the MSDN library if it's installed on your computer.
</UL>
<H3><FONT COLOR="#000077"><B>How This Book Is Structured</B></FONT></H3>
<P>This book is divided into six sections, each of which focuses on a different aspect
of using Visual C++:
<UL>
<LI>Part I, "Getting Started with Visual C++ 5," is a short tour of the
Visual C++ compiler and its associated tools.<BR>
<BR>
<LI>Part II, "Dialog Boxes and Basic Controls," introduces the basic controls
used in Windows programming, as well as the MFC classes used to interact with them.<BR>
<BR>
<LI>Part III, "Windows and MFC Architecture," includes coverage of the
Document/View architecture used in Microsoft's MFC class library and event driven
programming.<BR>
<BR>
<LI>Part IV, "The Graphics Interface," introduces the Windows Graphics
Device Interface and explains how it is used to draw shapes and fill objects in Windows.<BR>
<BR>
<LI>Part V, "Common Controls," covers the common controls first introduced
in Windows 95 and Windows NT 3.51. These controls include the Tree View and List
View controls, as well as the Slider and Progress controls.<BR>
<BR>
<LI>Part VI, "Advanced MFC Programming," includes important topics such
as serialization, printing, and creating ActiveX controls.
</UL>
<P>Each chapter in the book is designed to take you about an hour to complete. The
chapter begins with a list of teaching objectives and then dives right in to the
first topic. In each hour, discussions are intertwined with hands-on examples that
show you real-world applications for the lessons that you're learning. The end of
the hour contains a Q&A section, a quiz, and exercises that are designed to test
your knowledge and understanding of the hour's material. The answers to the quiz
and exercises are found in Appendix F, "Answers."
<H3><FONT COLOR="#000077"><B>What You'll Need</B></FONT></H3>
<P>This book does not assume that you have any experience with the C or C++ programming
languages, although some programming experience will be helpful. The first section
of the book covers many basic parts of the C++ programming language, and other parts
of the book discuss C++ language concepts as they are introduced.</P>
<P>The Visual C++ compiler comes in three different versions: the Learning Edition,
the Professional Edition, and the Enterprise Edition. You can use this book with
any version of the compiler.</P>
<P>To use the Visual C++ compiler, you'll need to use Windows 95 or Windows NT 3.51
or later. You'll also need at least 20MB of memory (24MB on Windows NT) and at least
50MB of disk space, although some installation options require up to 500MB of disk
storage. Like most Windows programs, Visual C++ will benefit from adding more memory;
most serious programmers use 64MB of RAM or more.</P>
<P>That's all you'll need to get started. Now it's time to turn to Hour 1 for an
introduction to the Visual C++ development system.<FONT COLOR="#000077"></FONT></P>
<P>
<CENTER>
<P>
<HR>
<A HREF="../ch01/ch01.htm"><IMG SRC="../button/next.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Next chapter" BORDER="0"></A><A HREF="../index.htm"><IMG SRC="../button/contents.gif"
WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" ALT="Contents" BORDER="0"></A> <BR>
<BR>
<BR>
<IMG SRC="../button/corp.gif" WIDTH="284" HEIGHT="45" ALIGN="BOTTOM" ALT="Macmillan Computer Publishing USA"
BORDER="0"></P>
<P>© <A HREF="../copy.htm">Copyright</A>, Macmillan Computer Publishing. All
rights reserved.
</CENTER>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -