⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intro.htm

📁 VC使用大全。里面集合了VC使用的各种使用技巧。非常有用。
💻 HTM
📖 第 1 页 / 共 2 页
字号:
easy by using archives and extending the use of the stream I/O

operators >> and <<. You learn all about reading and

writing to files in <A HREF="index08.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index08.htm" target="text" >Chapter 8</A>, &quot;Persistence

and File I/O.&quot;</P>

<P>

<B>ActiveX Programming</P></B>

<P>

ActiveX is the successor to OLE, and it is the technology that

facilitates communication between applications at the object level,

allowing you to embed a Word document in an Excel spreadsheet,

or any of hundreds of kinds of objects in any ActiveX application.

ActiveX chapters include <A HREF="index13.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index13.htm" target="text" >Chapter 13</A>,

&quot;ActiveX Concepts,&quot; <A HREF="index14.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index14.htm" target="text" >Chapter 14</A>,

&quot;Building an ActiveX Container Application,&quot; <A HREF="index15.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index15.htm" target="text" >Chapter 15</A>,

&quot;Building an ActiveX Server Application,&quot; <A HREF="index16.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index16.htm" target="text" >Chapter 16</A>,

&quot;Building an AutomationServer,&quot; and <A HREF="index17.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index17.htm" target="text" >Chapter 17</A>,

&quot;Building an ActiveX Control.&quot;</P>

<P>

<B>The Internet</P></B>

<P>

Microsoft recognizes that distributed computing, in which work

is shared among two or more different computers, is becoming more

and more common. Programs need to talk to each other, people need

to send messages across a LAN or around the world, and MFC has

classes that support these kinds of communication. The four Internet

chapters in this book are <A HREF="index18.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index18.htm" target="text" >Chapter 18</A>,

&quot;Sockets, MAPI, and the Internet,&quot; <A HREF="index19.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index19.htm" target="text" >Chapter 19</A>,

&quot;Internet Programming with the WinInet Classes,&quot; <A HREF="index20.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index20.htm" target="text" >Chapter 20</A>,

&quot;Building an Internet ActiveX Control,&quot; and <A HREF="index21.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index21.htm" target="text" >Chapter 21</A>,

&quot;The Active Template Library.&quot;</P>

<P>

<B>Database Access</P></B>

<P>

Database programming just keeps getting easier. ODBC, Microsoft's

Open DataBase Connectivity package, allows your code to call API

functions that access a huge variety of database files-Oracle,

DBase, an Excel spreadsheet, a plain text file, old legacy mainframe

systems using SQL, whatever! You call a standardlynamed function

and the API provided by the database vendor or a third party handles

the translation. The details are in <A HREF="index22.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index22.htm" target="text" >Chapter 22</A>,

&quot;Database Access,&quot; and <A HREF="index23.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index23.htm" target="text" >Chapter 23</A>,

&quot;SQL and theEnterprise Edition.&quot;</P>

<P>

<B>Advanced Material</P></B>

<P>

For developers who have mastered the basics, this book features

some advanced chapters to move your programming skills forward.

You will learn how to prevent memory leaks, find bottlenecks,

and find bugs in your code with the techniques discussed in <A HREF="index24.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index24.htm" target="text" >Chapter 24</A>,

&quot;Improving Your Application's Performance.&quot;</P>

<P>

Reuse is a hugely popular concept in software development at the

moment, especially with managers who see a chance to lower their

development budget. If you'd like to write reusable code and components,

<A HREF="index25.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index25.htm" target="text" >Chapter 25</A>, &quot;Achieving Reuse with

the Gallery and Your Own AppWizards,&quot; will get you there.</P>

<P>

The C++ language is still quite new, and it changes every year.

A working ANSI committee is building the C++ standard, and as

they work towards a final definition of the language, compiler

vendors add entirely new keywords and capabilitities. You will

learn in <A HREF="index26.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index26.htm" target="text" >Chapter 26</A>, &quot;Exceptions,

Templates, and the Latest Additions to C++,&quot; what's new in

the language itself.</P>

<P>

As user demands for high-performance software continue to rise,

developers are having to learn entirely new techniques to produce

powerful applications that provide fast response times. For many

developers, writing multithreaded applications is a vital technique.

Learn about threading in <A HREF="index27.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index27.htm" target="text" >Chapter 27</A>,

&quot;Multitasking with Windows Threads.&quot;</P>

<P>

<A HREF="index28.htm" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/index28.htm" target="text" >Chapter 28</A>, &quot;Future Explorations,&quot;

introduces you to topics that are definitely not for beginners.

Learn how to create console applications, use and build your own

DLLs, and work with Unicode.</P>

<H3>Conventions Used in This Book</H3>

<P>

One thing this book has plenty of is code. Sometimes you just

need to see a line or two, so the code is mixed in with the text

like this:</P>

<PRE>

<FONT SIZE=2 COLOR=#008000>int SomeFunction( int x, int y);</P>



{</P>



     return x+y;</P>



}</P>

</FONT>

</PRE>

<P>

You can tell the difference between code and regular text by the

fonts used for each of them. Sometimes, you'll see a piece of

code that is too large to mix in with the text: You'll find an

example in Listing 0.1.</P>

<P>

<B>Listing 0.1</P></B>

<PRE>

<FONT SIZE=2 COLOR=#008000>CHostDialog dialog(m_pMainWnd);</P>



    if (dialog.DoModal() == IDOK)</P>



    {</P>



         AppSocket = new CSocket();</P>



         if (AppSocket-&gt;Connect(dialog.m_hostname,119))</P>



         {</P>



              while (AppSocket-&gt;GetStatus() == CONNECTING)</P>



              {</P>



                   YieldControl();</P>



              }</P>



              if (AppSocket-&gt;GetStatus() == CONNECTED)</P>



              {</P>



               CString response = AppSocket-&gt;GetLine();</P>



                   SocketAvailable = TRUE;</P>



              }</P>



         }</P>



    }</P>



     if (!SocketAvailable)</P>



     {</P>



          AfxMessageBox(&quot;Can't connect to server. Please</P>



     [ccc] quit.&quot;,MB_OK|MB_ICONSTOP);</P>



     }</P>

</FONT>

</PRE>

<P>

The character on the second last line ([ccc]) is called the <I>code

continuation character</I>. It shows a place where a line of code

had to be broken to fit it on the page, but the line is not broken

there in reality. If you're typing code in from the book, don't

break the line there, just keep going. If you're reading along

in the code from the CD, don't get confused when the line doesn't

break there.</P>

<P>

Remember, the code is in the book so that you can understand what

is going on, not for you to type in. All the code is on the CD-ROM

as well. Sometimes, youll work your way through the development

of an application and see several versions of a block of code

as you go--the final version is on the CD-ROM.</P><BR>

<BLOCKQUOTE>

<IMG src="tip.gif" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/tip.gif"><BR>

This is a Tip: A shortcut or interesting feature you might want

to know about.</P><BR>

<IMG src="bottom.gif" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/bottom.gif"><BR>

</BLOCKQUOTE>

<BLOCKQUOTE>

<IMG src="note.gif" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/note.gif"><BR>

This is a Note: It covers a subtle but important point. Don't

skip notes even if you're the kind who skips tips.</P><BR>

<IMG src="bottom.gif" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/bottom.gif"><BR>

</BLOCKQUOTE>

<BLOCKQUOTE>

<IMG src="caution.gif" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/caution.gif"><BR>

This is a caution, and it's serious. It warns you of horrible

consequences if you make a false step, so be sure to read all

of these that you come across.</P><BR>

<IMG src="bottom.gif" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/bottom.gif">

</BLOCKQUOTE>

<P>

When a word is in <I>italic</I>, it's usually being defined. (Sometimes

the word's just being emphasized.) The names of variables, functions,

C++ classes, and things you should type are all in <FONT COLOR=#008000>monospaced</FONT>

font. Internet URLS are in <B>bold </B>type. Remember, a URL never

ends with punctuation, so ignore any comma or period after the

URL.</P>

<H3>Time to Get Started</H3>

<P>

That just about wraps things up for the introduction. You've learned

what you need to get started, including some advanced warning

about the notations used throughout the book. Jump right in, learn

all about writing Windows applications with MFC, and then get

started on some development of your own! Good luck and have fun.</P>

<HR>

<P>

<CENTER></P><FONT SIZE=1>&copy; 1997, QUE Corporation, an imprint

of Macmillan Publishing USA, a Simon and Schuster Company.</P></FONT></CENTER>

<P>

<FONT SIZE=1> </FONT>

</BODY>

</HTML>





⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -