亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? apa.htm

?? 24小時精通VC
?? HTM
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><HTML><HEAD>	<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">	<META NAME="GENERATOR" Content="Symantec Visual Page Mac 1.1">	<TITLE>Teach Yourself Visual C++&reg; 5 in 24 Hours -- Appendix A -- The Developer Studio IDE</TITLE></HEAD><BODY TEXT="#000000" BGCOLOR="#FFFFFF"><H1 ALIGN="CENTER"><IMG SRC="../button/sams.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM"BORDER="0"><BR><FONT COLOR="#000077">Teach Yourself Visual C++&reg; 5 in 24 Hours</FONT></H1><CENTER><P><A HREF="../ch24/ch24.htm"><IMG SRC="../button/previous.gif" WIDTH="128" HEIGHT="28"ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../apb/apb.htm"><IMGSRC="../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><H1 ALIGN="CENTER"><FONT COLOR="#000077">- Appendix A -<BR>The Developer Studio IDE</FONT></H1><P>This appendix covers some basic information about the Developer Studio IntegratedDevelopment Environment.<H2><FONT COLOR="#000077"><B>What Is the Developer Studio Editor?</B></FONT></H2><P>Developer Studio includes a sophisticated editor as one of its tools. The editoris integrated with the other parts of Developer Studio; files are edited in a DeveloperStudio child window. You use the Developer Studio editor to edit C++ source filesthat will be compiled into Windows programs. The editor supplied with Developer Studiois similar to a word processor, but instead of fancy text-formatting features, ithas features that help make writing source code easy.<H3><FONT COLOR="#000077"><B>Why Use the Developer Studio Editor?</B></FONT></H3><P>You can use almost any editor to write C++ source code, but there are severalreasons to consider using the editor integrated with Developer Studio. The editorincludes many features that are found in specialized programming editors.<UL>	<LI>Automatic syntax highlighting colors keywords, comments, and other source code	in different colors.<BR>	<BR>		<LI>Automatic &quot;smart&quot; indenting helps line up your code into easy-to-read	columns.<BR>	<BR>		<LI>Emulation for keystrokes used by other editors helps if you are familiar with	editors such as Brief and Epsilon.<BR>	<BR>		<LI>Integrated keyword help enables you to get help on any keyword, MFC class, or	Windows function just by pressing F1.<BR>	<BR>		<LI>Drag-and-drop editing enables you to easily move text by dragging it with the	mouse.<BR>	<BR>		<LI>Integration with the compiler's error output helps you step through the list	of errors reported by the compiler and positions the cursor at every error. This	enables you to make corrections easily without leaving Developer Studio.</UL><H3><FONT COLOR="#000077"><B>Using the Developer Studio Editor</B></FONT></H3><P>The easiest way to learn about the Developer Studio editor is to edit a file andrun through a few common actions, such as creating a new source file, saving andloading files, and using a few keyboard commands.<H4><FONT COLOR="#000077">Editing a New Source File</FONT></H4><P>To edit a new source file, click the New Text File icon on the toolbar. The NewText File icon looks like a blank piece of paper with a yellow highlight in one corner.You can also open a new source file using the menu by following these steps:<DL>	<DD>1. Select New from the File menu. This displays the New dialog box, which enables	you to create a new text file, project, or other type of file.<BR>	<BR>	2. Select the Files tab. Several different types of files will be displayed. Select	the C++ Source File icon in the list box.<BR>	<BR>	3. Click OK to close the New dialog box and open the new file for editing.</DL><P>Each of the preceding methods creates an empty source file ready for editing.Type the source code from Listing A.1 into the new file.<H4><FONT COLOR="#000077">TYPE: Listing A.1. A minimal C++ program.</FONT></H4><PRE><FONT COLOR="#0066FF"><TT>// This is a comment</TT><TT>int main()</TT><TT>{</TT><TT>    return 0;</TT></FONT></PRE><P><TT>}</TT> The source code in Listing A.1 is a legal C++ program, although itdoesn't actually do anything. As you typed the source code into the editor, the colorsfor some of the words should have changed. This is called syntax highlighting, andit's one of the features of Developer Studio's editor.</P><P>The first line in Listing A.1 begins with <TT>//</TT>, which is used to mark thebeginning of a single-line comment in a C++ program. By default, comments are coloredgreen by the Developer Studio editor. In contrast, <TT>int</TT> and <TT>return</TT>are colored blue to indicate that they are C++ keywords.</P><P>Another editor feature is called <I>smart indenting</I>. This feature automaticallyarranges your text as you type, applying formatting rules to your text as each wordor line is entered into the editor. For example, enter the source code from ListingA.2 into the text editor. Press Return at the end of each line, but do not add spacesor tabs. As each line is typed, the editor rearranges the text into a standard formatfor you.<H4><FONT COLOR="#000077">TYPE: Listing A.2. A simple C++ class declaration.</FONT></H4><PRE><FONT COLOR="#0066FF"><TT>class CFoo</TT><TT>{</TT><TT>    int nFoo;</TT><TT>    int nBar;</TT><TT>public:</TT><TT>    CFoo();</TT></FONT></PRE><P><TT>}</TT> The source code provided in this book follows the same formatting conventionused by the Developer Studio editor. Although some coding styles might be more compact,this style is very easy to read.<H4><FONT COLOR="#000077">Saving a Source File</FONT></H4><P>To save the contents of the editor, click the Save icon on the toolbar. The Saveicon looks like a small floppy disk. You can also press Ctrl+S or select Save fromthe File menu.</P><P>When updating an existing source file, you don't see a dialog box, and no furtheraction is needed on your part. The existing file is updated using the current contentsof the editor. If you save a new file, you see the Save As dialog box, and you mustchoose a location and filename for the new source file. Save the contents of ListingA.2 in the <TT>C:\</TT> directory using the name <TT>CFoo.cpp</TT>. After savingthe file, close <TT>CFoo.cpp</TT> by selecting Close from the File menu.</P><P>To save a file under a new name, select Save As from the File menu or press F12.Enter the new path and filename using the Save As dialog box as described previously.<H4><FONT COLOR="#000077">Opening an Existing Source File</FONT></H4><P>To open an existing source file, click the Open icon on the toolbar. The Openicon looks like a folder that is partially open. You can also press Ctrl+O or selectOpen from the File menu. Any of these methods brings up the File Open dialog box.</P><P>To open the <TT>CFoo.cpp</TT> file for editing, pop up the File Open dialog boxand navigate to the <TT>C:\</TT> directory. Select the <TT>CFoo.cpp</TT> file andclick the button labeled Open. The <TT>CFoo.cpp</TT> file is loaded into the editor.<H4><FONT COLOR="#000077">Using Editor Commands</FONT></H4><P>As discussed in the first hour, a large set of editing commands is available fromthe keyboard. Although most editor commands are also available from the menu or toolbar,the following commands are frequently used from the keyboard:<UL>	<LI>Undo, which reverses the previous editor action, is performed by pressing Ctrl+Z	on the keyboard. The number of undo steps that can be performed is configurable in	the Options dialog box.<BR>	<BR>		<LI>Redo, which is used to reverse an undo, is performed by pressing Ctrl+Y.<BR>	<BR>		<LI>LineCut, which removes or &quot;cuts&quot; the current line and places it on	the Clipboard, is performed by pressing Ctrl+L.<BR>	<BR>		<LI>Cut removes any marked text from the editor and places it on the Clipboard. This	command is performed by pressing Ctrl+X.<BR>	<BR>		<LI>Copy copies any marked text to the Clipboard but unlike the Cut command, doesn't	remove the text from the editor. If no text is marked, the current line is copied.	This command is performed by pressing Ctrl+C.<BR>	<BR>		<LI>Paste copies the Clipboard contents into the editor at the insertion point. This	command is performed by pressing Ctrl+V.</UL><P>This is only a small list of the available keyboard commands. To see a completelist, select Keyboard from the Help menu.<H2><FONT COLOR="#000077"><B>What Is InfoViewer?</B></FONT></H2><P>InfoViewer is the online help system integrated into Developer Studio. Usually,the indexes used by the InfoViewer are copied to your hard disk, and the actual databaseremains on the CD. This spares a great deal of hard disk space. If you would liketo speed up InfoViewer, run Visual C++ setup again and install InfoViewer to thehard disk. Select a custom installation procedure and make sure you check the InfoViewerbox.<H3><FONT COLOR="#000077"><B>Why Use InfoViewer?</B></FONT></H3><P>Because Visual C++ is not sold with a documentation set, InfoViewer is the onlydocumentation that is included with the product. Although the online documentationis also available from Microsoft in book form, it costs you extra.</P><P>InfoViewer has several advantages over hard-copy documentation:<UL>	<LI>It is fully searchable. There's a saying, &quot;You can't search dead wood,&quot;	and it applies perfectly to the difference between hard copy documentation and Developer	Studio's InfoViewer. Suppose you're having a problem with a list box control. In	a few seconds, you can search the entire documentation set, including the MSDN library	if you have it, and immediately begin looking up relevant information.<BR>	<BR>		<LI>You can add annotations. You can add Post-it notes to your hard-copy documentation	too, but InfoViewer's annotations are guaranteed to stick to the page.<BR>	<BR>		<LI>You get context-sensitive help that brings up InfoViewer when you press the F1	key. When's the last time you pressed F1 and had a book fall off the bookshelf and	open to the correct page?<BR>	<BR>		<LI>InfoViewer is completely integrated into Developer Studio. One of the tabs in	the project workspace window displays the InfoViewer table of contents. The current	topic is displayed in a Developer Studio child window.<BR>	<BR>		<LI>Last, but not least, you can always print out a hard copy when needed, and you	don't even need a copying machine.</UL><H3><FONT COLOR="#000077"><B>Using InfoViewer</B></FONT></H3><P>You interact with the InfoViewer help system in two windows:<UL>	<LI>The contents pane is displayed in the project workspace window.<BR>	<BR>		<LI>The information topic is an MDI child window.</UL><H4><FONT COLOR="#000077">Getting Context-Sensitive Help</FONT></H4><P>To get context-sensitive help from InfoViewer, press F1. You select a topic basedon the current window and cursor position, and you see the InfoViewer window containingcontext-sensitive help. If you press F1 while editing a source file, help is providedfor the word under the cursor. If there is more than one possible help topic, yousee a list of choices.</P><P>Open a new document for editing, as described earlier in this chapter, and enterthe source code provided in Listing A.3.<H4><FONT COLOR="#000077">TYPE: Listing A.3. Testing InfoViewer's context-sensitivehelp.</FONT></H4><PRE><FONT COLOR="#0066FF"><TT>int main()</TT><TT>{</TT><TT>    return 0;</TT></FONT></PRE><P><TT>}</TT> Every word in this example has a help topic. To get context-sensitivehelp, move the cursor to any word in Listing A.3 and press the F1 key. The help topicis displayed in a dockable window next to your source code. To return the windowsto their original sizes and hide the InfoViewer window, press Escape.<H4><FONT COLOR="#000077">Searching for Help Using a Keyword</FONT></H4><P>To search the InfoViewer keyword list, open the Search dialog box by selectingSearch from the Help menu or by right-clicking in the InfoViewer window. The Searchdialog box enables you to select a help topic by entering a keyword. The keywordlist box scrolls as you make your entry, which is helpful when you're not quite surehow to spell a keyword.</P><P>The Search dialog box also enables you to create a query in order to find a topic.You can use a query to search the entire contents, a subset of the contents, or theresults of the last query. The last option is useful when you're narrowing the scopeof a search. You can apply the query to the entire contents of InfoViewer or to onlythe titles of each topic.</P><P>A query can be as simple as a single word, or it can be used to look for wordsthat are adjacent or close to each other. You can use the <TT>AND</TT>, <TT>OR</TT>,<TT>NEAR</TT>, and <TT>NOT</TT> operators to create queries. Operators aren't requiredto be capitalized, although it helps to set off the operator from your search items.For example, to find all the topics where the words <I>dialog</I> and <I>tab</I>are close to each other, use the following query:</P><PRE><FONT COLOR="#0066FF"><TT>dialog NEAR tab</TT></FONT></PRE><P>To look for topics where the word <I>main</I> is found but exclude any topicsthat contain the word <I>WinMain</I>, use the following query:</P><PRE><FONT COLOR="#0066FF"><TT>main NOT WinMain</TT></FONT></PRE><H4><FONT COLOR="#000077">Browsing Through the Contents Window</FONT></H4><P>A third way to use InfoViewer is to browse through the contents pane in the projectworkspace window. The contents pane displays the titles for every available topic,arranged in an easy-to-use tree view.</P><P>When the InfoViewer contents tree is completely collapsed, the contents pane displaysthe titles for the top level of the available topics. The titles displayed at thetop level are somewhat like the titles of a series of books; the icon even lookslike a book. When the book icon is closed, a plus sign appears next to the book title,indicating that the book can be opened to display its contents. Click the plus signto open the book icon and expand the contents tree to display the contents of theopen book. Topics are represented by icons that look like a page of text. To displaythe selected topic, click the topic icon; the InfoViewer topic window opens. Clickingthe plus sign also changes the plus sign to a minus, which you can click to closethe book.</P><CENTER><P><HR><A HREF="../ch24/ch24.htm"><IMG SRC="../button/previous.gif" WIDTH="128" HEIGHT="28"ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../apb/apb.htm"><IMGSRC="../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>&copy; <A HREF="../copy.htm">Copyright</A>, Macmillan Computer Publishing. Allrights reserved.</CENTER></BODY></HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲制服丝袜| 日韩欧美电影一区| 亚洲一区二区不卡免费| 日本道免费精品一区二区三区| 亚洲三级免费观看| 欧美在线制服丝袜| 日韩国产高清影视| 精品国产露脸精彩对白| 成人自拍视频在线| 一区二区三区不卡视频在线观看| 欧美精品三级日韩久久| 麻豆视频观看网址久久| 亚洲国产精品二十页| 91福利在线观看| 日韩福利电影在线观看| 久久久久久亚洲综合影院红桃| 91影视在线播放| 日韩电影在线一区二区三区| 国产视频一区不卡| 欧美亚洲综合网| 国产乱妇无码大片在线观看| 亚洲美女精品一区| 精品欧美一区二区三区精品久久| 成人动漫精品一区二区| 天堂午夜影视日韩欧美一区二区| 国产亚洲精品资源在线26u| 91免费在线看| 国内外精品视频| 亚洲欧美日韩国产综合| 日韩精品一区二区三区老鸭窝| fc2成人免费人成在线观看播放| 丝袜诱惑制服诱惑色一区在线观看| 国产亚洲综合性久久久影院| 在线看日本不卡| 国产成人亚洲综合a∨婷婷| 一区av在线播放| 国产精品三级电影| 日韩精品一区二区三区在线观看| 色婷婷久久久久swag精品| 老汉av免费一区二区三区| 亚洲激情图片一区| 欧美国产综合一区二区| 91精品国产乱码久久蜜臀| 色综合网色综合| 国产一区二区三区香蕉| 日韩专区欧美专区| 亚洲伊人伊色伊影伊综合网| 欧美国产一区在线| 2014亚洲片线观看视频免费| 制服丝袜亚洲色图| 91麻豆福利精品推荐| 大桥未久av一区二区三区中文| 美女视频免费一区| 午夜电影网亚洲视频| 亚洲男人都懂的| 国产精品免费丝袜| 久久精品亚洲国产奇米99| 欧美一区二区三区四区在线观看 | 国产精品一二三四五| 天堂va蜜桃一区二区三区漫画版| 亚洲免费观看在线视频| 亚洲欧美在线视频观看| 亚洲国产精品成人综合色在线婷婷| 精品人在线二区三区| 精品理论电影在线观看| 日韩欧美一二区| 日韩欧美资源站| 欧美丰满高潮xxxx喷水动漫| 欧美狂野另类xxxxoooo| 欧美日韩不卡在线| 欧美日韩在线播放一区| 欧美手机在线视频| 欧美三电影在线| 欧美人动与zoxxxx乱| 欧美日韩精品综合在线| 国产日韩欧美不卡| 国产亚洲欧美一级| 欧美乱熟臀69xxxxxx| 99精品国产一区二区三区不卡| 国产91在线观看丝袜| 国产成人av电影免费在线观看| 国产精品911| 国产丶欧美丶日本不卡视频| 在线播放中文一区| gogogo免费视频观看亚洲一| 黄色资源网久久资源365| 亚洲成人免费av| 日韩伦理av电影| 国产色爱av资源综合区| 日韩欧美一区在线| 欧美日韩国产影片| 99九九99九九九视频精品| 极品少妇xxxx精品少妇偷拍| 天天综合网天天综合色| 亚洲一卡二卡三卡四卡| 亚洲欧洲精品成人久久奇米网| 久久新电视剧免费观看| 91精品国产欧美一区二区18 | 国产精品久久免费看| 日韩视频永久免费| 在线91免费看| 在线观看av不卡| 色噜噜夜夜夜综合网| 成人小视频在线| 国产经典欧美精品| 国产福利不卡视频| 国产成人免费视频一区| 国内不卡的二区三区中文字幕| 日本成人中文字幕| 美女网站视频久久| 青青草原综合久久大伊人精品 | 国产高清不卡一区| 国产中文字幕一区| 国产精品99久久久久久宅男| 国产一区啦啦啦在线观看| 久久精品国产精品亚洲综合| 精品一区二区三区不卡 | 午夜精品久久一牛影视| 视频在线在亚洲| 日本sm残虐另类| 精品亚洲免费视频| 国产成人自拍高清视频在线免费播放| 激情另类小说区图片区视频区| 国内精品久久久久影院色| 国产精品99久久久| 成人精品电影在线观看| 91碰在线视频| 欧美日韩国产美女| 日韩三级免费观看| 国产欧美一区二区精品性| 国产精品免费av| 夜色激情一区二区| 麻豆传媒一区二区三区| 国产一区二区调教| 99精品视频一区二区三区| 欧美性猛片aaaaaaa做受| 欧美一区二区三区在| 国产亚洲欧美日韩俺去了| 亚洲你懂的在线视频| 免费欧美日韩国产三级电影| 国产成人99久久亚洲综合精品| 色综合天天综合网天天看片 | 在线影院国内精品| 欧美精品日韩综合在线| 久久精品亚洲精品国产欧美 | 中文字幕高清不卡| 亚洲国产综合视频在线观看| 久久疯狂做爰流白浆xx| 成人美女视频在线观看| 欧美午夜免费电影| 国产日韩欧美综合一区| 亚洲人成网站在线| 久久99日本精品| 91一区二区三区在线观看| 欧美一区二视频| 国产精品久久久久久久久晋中 | 男人的天堂久久精品| 国产大陆精品国产| 欧美日韩成人激情| 国产精品乱码久久久久久| 五月开心婷婷久久| 成人不卡免费av| 欧美一区二区三区在线| 国产精品福利av| 青青国产91久久久久久| 在线观看成人免费视频| 国产女主播在线一区二区| 午夜精品国产更新| 99国产精品久久久| 久久精品一区二区三区不卡牛牛| 亚洲国产精品久久一线不卡| 国产99久久久精品| 欧美一区午夜精品| 尤物视频一区二区| 国产aⅴ精品一区二区三区色成熟| 欧美色老头old∨ideo| 国产精品美女久久久久高潮| 久久99在线观看| 欧美一区二区视频网站| 亚洲一区二区三区四区在线| 粉嫩aⅴ一区二区三区四区| 日韩视频在线你懂得| 午夜电影久久久| 欧美无砖专区一中文字| 自拍av一区二区三区| 高清beeg欧美| 久久久精品蜜桃| 精品伊人久久久久7777人| 在线不卡中文字幕播放| 亚洲第四色夜色| 在线观看91视频| 亚洲国产人成综合网站| 91麻豆蜜桃一区二区三区| 中文字幕亚洲综合久久菠萝蜜| 国产成人av福利| 欧美激情综合五月色丁香小说| 国产一区在线精品| 国产三级精品三级| 懂色av中文一区二区三区 | 日韩免费成人网|