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

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

?? vc5-6.html

?? a Complete C++ language tutorial on the cplusplus.com
?? HTML
字號:
<HTML>
<HEAD>
<TITLE>Console application projects with Microsoft Visual C++</TITLE>
<meta name="description" content="Steps to follow for creating a console application project">
<meta name="keywords" content="c++ console compile compiler microsoft project" >
</HEAD>
<body bgcolor="white">

<!--cap-->
<CENTER>
<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=1 BORDER=0>
<TR><TD WIDTH=90%>
 <FONT SIZE=4> Compilers </FONT><BR>
 <FONT SIZE=5><B>Console application projects with Microsoft Visual C++</B></FONT>
</TD><TD VALIGN="bottom">
 <a href="http://www.cplusplus.com" ><IMG SRC="/img/mini.gif" ALT="cplusplus.com" BORDER=0></A>
</TD></TR>
<TR><TD BGCOLOR="#0000FF" ALIGN="center" COLSPAN=2>
 <IMG SRC="/img/2x2.gif" WIDTH=2 HEIGHT=2 BORDER=0></TD></TR>
</TABLE>
</CENTER>
<!--/cap-->

<P>
The most recent versions of this compiler are integrated in a development environment called
Microsoft Visual Studio. The simplest method to create applications in this environment
is by creating projects.  We are going to create a project with the name
<B>test</B> but you can simply follow these same instructions for any other project name
just by changing any appearance of <B>test</B> by the name you choose.
<P>
<H2>Creating a new project</H2>
<TABLE><TR><TD>
 <B>1.</B> Launch the Microsoft Visual C++ environment.<BR>
 If your development environment starts empty press on <TT><B><U>F</U>ile</B></TT> and
<TT><B><U>N</U>ew...</B></TT><BR>
 <IMG SRC="vc1.gif" BORDER=1>
</TD></TR><TR><TD>
  
 <P>
 <B>2.</B> A dialog box called <TT><B>New</B></TT> will appear, similar to the following one:<BR>
</TD></TR><TR><TD>
 <IMG SRC="vc2.gif" BORDER=1>
</TD></TR><TR><TD>
 Follow these steps:<BR>
 <blockquote>
 <B>a.</B> Select the Projects tab.<BR>
 <B>b.</B> Select the project type "Win32 Console Application"<BR>
 <B>c.</B> Type the Location of your hard drive where you want to store the files of your projects.<BR>
 <B>d.</B> Give a name to the project, the one you wish, for example <TT><B>test</B></TT>. This name will be automatically added to the path that you specified in step <B>c.</B>.<BR>
 <B>e.</B> Click <TT><B>OK</B></TT>.<BR>
 </BLOCKQUOTE>
 If you are using version 6 of the development environment, a dialog box will appear asking
what type of application you wish, in that case answer "An empty project" and click
<TT>Finish</TT>. 
<P>
 It will probably appear a summarizing panel. Ok.
<P>
 <B>3.</B> At this point you shall have an empty project and in the left side it should
appear a list of classes, that because we have still not begun a program it will be empty.<BR>
 <IMG SRC="vc3.gif" BORDER=1 ALIGN="left">
 If you pay attention, you will be able to see in the bottom left side, two tab:
<TT><B>ClassView</B></TT> and <TT><B>FileView</B></TT>.  Press on FileView.
</TD></TR><TR><TD>
 <B>4.</B><BR>
 <IMG SRC="vc4.gif" BORDER=1 ALIGN="left">
 In <TT><B>FileView</B></TT> you should be able to see a group icon
 called <TT><B>test files</B></TT> (replacing <TT>test</TT> by the name that you gave to
 the project in step <TT><B>2d.</B></TT>).<BR>
 Right click on it and select the option <TT><B>Add <U>F</U>iles to Project...</B></TT><BR>
</TD></TR><TR><TD>
 <B>5.</B>
 A Dialog box called "Insert Files into Project" will be opened. It is a
 common exploring dialog box opened by the directory in which we have placed the project
 in step <TT><B>2.</B></TT>.<BR>
 <IMG SRC="vc7.gif"><BR>
 Using this dialog box we can include the files we need in the project writing its name
in the "<U>F</U>ile name:" field.  For example we could include the file
<TT><B>test.cpp</B></TT> (it is a generalized custom to call the main file of the project
like the project itself plus the <TT><B>.cpp</B></TT> extension). 
Because it will probably be a new file, the environment will warn us that the file does
not still exist and it will ask us if we want to refer it anyway.  We will answer
<TT><B>Yes</B></TT>.
<P>
 <B>6.</B>
 Once we have included our file(s) in the project, these would have to be visible under
the <TT><B>test files</B></TT> group (replacing <TT>test</TT> by the name you gave to the
project in step <TT><B>2d.</B></TT>).<BR>
 <IMG SRC="vc5.gif" BORDER=1 ALIGN="left">
If you are using Visual C++ 6 the files would appear within a subfolder
called <TT><B>Source Files</B></TT>, in previous versions it will appear directly
into the <TT><B>test files</B></TT> folder.<BR>
 Now, double-clicking on any project file (for example 
<TT><B>test.cpp</B></TT>) the file will be opened in the main frame 
of the development environment and we will be able to edit its content.
If the file that we want to open does not exists yet you will be asked if you wish
to create it. Try to click on <TT><B>test.cpp</B></TT> and say that indeed you
want to create it.<BR>
</TD></TR><TR><TD>
<P>
 Now we can edit any of our project's files in the way we want.
</TD></TR>
</TABLE>

<P>
<H2>Compilation and execution of a project</H2>
Once we have finished the program and we want to try to run it, we will go to the main menu
in the top of the window and select <TT><B>Build</B></TT>, and there the option
<TT><B>Execute test.exe</B></TT> (replacing <TT>test</TT> by the name given to the project).<BR>
You may also do this same operation by pressing on the red exclamation icon
(<IMG SRC="vc6.gif">) in the menu bar, or by pressing the keys <TT>Control</TT>
 and <TT>F5</TT> simultaneously.  Use the method that you prefer.
<P>
If our code is correct and everything goes well, the resulting program will be executed.
If not everithing has gone perfect, errors and warnings may be displayed, in this case,
at the bottom side of the development interface it will be a frame that will
display the quantity of errors and warnings.  If you scroll up this screen (or if you expand
it) you will be able to see the details of errors and warnings following this format:
<blockquote ><TT>
File name(line number) : error/warning code: description
</TT></BLOCKQUOTE>
like for example:
<blockquote ><TT>
C:\myprograms\test.cpp(9) : error C2065: 'trox' : undeclared identifier
</TT></BLOCKQUOTE>
If you double-click on anyone of these lines, the place in the source code where presumably
the expression that causes the error is will be signaled. Use this location and the
error description to correct it.
<P>
Once your program has been executed for the first time using this method
an executable file with <TT><B>.EXE</B></TT> extension will be generated,
it will be in the working folder for this project within subfolder <TT><B>Debug</B></TT>
or <TT><B>Release</B></TT>, according to the active configuration for the project
(<TT><B>Build | Set Activate Configuration...</B></TT>).
<P>
<H2>Opening, Saving and Closing an existing project</H2>
When we created a project, Visual C++ generates for us a Workspace that includes
the project plus the files that we have opened while working on it.
<P>
It is recommendable that you use the options <TT><B>Open Workspace...</B></TT>,
<TT><B>Save Workspace</B></TT> and <TT><B>Close Workspace</B></TT> of the
<TT><B>File</B></TT> menu when you want to open an existing project or when you want
to close the project that you are editing to open another one.
<P>
For more information consult help.

<P>
<H2>Other options</H2>
You may also compile your applications from the command line with no need to launch
the development environment following the instructions detailed in<BR>
<a href="vccl.html" >Compiling from the command line with Visual Microsoft C++</A>

<P>
<TABLE WIDTH=100%><TR><TD ALIGN="right">
<FONT SIZE=1>Microsoft and Visual C++ are registered trademarks of Microsoft Corporation</FONT>
</TD></TR></TABLE>

<!--cua-->
<CENTER><TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
 <TR><TD BGCOLOR="#0000FF"><IMG SRC="/img/2x2.gif" WIDTH=2 HEIGHT=2></TD></TR>
 <TR><TD ALIGN="right"><FONT FACE="arial,helvetica" SIZE=1>&copy;The C++ Resources Network, 2000 - All rights reserved</FONT></TD></TR>
 <TR><TD ALIGN="center"><a href="javascript:history.go(-1)" ><IMG SRC="/img/butnback.gif" BORDER=0>Return back</A></TD></TR>

</TABLE></CENTER>
<!--/cua-->

</BODY>
</HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产福利精品一区二区| 91在线播放网址| 在线不卡中文字幕| 亚洲国产精品尤物yw在线观看| 日本电影欧美片| 亚洲一二三区视频在线观看| 在线观看日韩av先锋影音电影院| 亚洲自拍偷拍九九九| 欧美精品久久一区二区三区| 麻豆精品视频在线观看| 精品少妇一区二区三区日产乱码| 国产原创一区二区| 欧美国产在线观看| 色噜噜久久综合| 日本色综合中文字幕| 26uuu国产日韩综合| 国产 欧美在线| 一区二区三区成人| 欧美一级二级在线观看| 国产成人亚洲综合a∨猫咪| 综合久久久久久| 在线播放欧美女士性生活| 精品一区二区三区久久久| 国产精品国产三级国产普通话蜜臀 | 欧美无乱码久久久免费午夜一区| 在线精品视频小说1| 91精品国产综合久久福利| 精品国产成人系列| 亚洲天堂福利av| 日韩电影免费在线观看网站| 国内精品久久久久影院薰衣草| 丰满白嫩尤物一区二区| 欧美三级在线播放| 欧美变态口味重另类| 国产精品进线69影院| 性做久久久久久| 国产精品影视网| 在线观看一区不卡| 久久久亚洲午夜电影| 一区二区三区波多野结衣在线观看| 琪琪久久久久日韩精品| 成人av免费在线| 欧美一区二区在线看| 国产精品国产自产拍高清av王其| 婷婷国产在线综合| www.成人在线| 日韩一区二区电影| 亚洲欧美电影院| 国产精品网站导航| 男女男精品网站| 99国产精品视频免费观看| 精品乱人伦一区二区三区| **欧美大码日韩| 老鸭窝一区二区久久精品| 色94色欧美sute亚洲线路一ni | 国内精品伊人久久久久影院对白| 久久99精品久久久久久国产越南 | 亚洲品质自拍视频| 精品一区二区三区视频 | 欧美va日韩va| 亚洲成人激情自拍| 成人v精品蜜桃久久一区| 精品成人在线观看| 日韩国产欧美三级| 欧美在线999| 亚洲精品大片www| 99久免费精品视频在线观看| 久久综合色鬼综合色| 欧美aⅴ一区二区三区视频| 国模无码大尺度一区二区三区| 最新国产成人在线观看| 国产精品灌醉下药二区| 国产精品私房写真福利视频| 久久影院午夜论| wwwwww.欧美系列| 久久影院视频免费| 久久色视频免费观看| 欧美不卡一区二区三区四区| 日韩欧美综合在线| 日韩欧美区一区二| 久久一区二区视频| 国产午夜三级一区二区三| 久久夜色精品国产噜噜av| 久久久精品免费免费| 国产性色一区二区| 中文字幕不卡在线| 亚洲天堂2016| 夜色激情一区二区| 免费视频最近日韩| 国产专区综合网| 粉嫩久久99精品久久久久久夜| 国产一区在线观看视频| 国产.欧美.日韩| 在线一区二区三区四区| 欧美精品在线一区二区三区| 日韩午夜小视频| 久久久久久影视| 2021国产精品久久精品| 99久久精品久久久久久清纯| 美女网站视频久久| 久久丁香综合五月国产三级网站| 国内成人自拍视频| 成人不卡免费av| 欧美三级韩国三级日本一级| 欧美一卡二卡在线观看| 国产亚洲va综合人人澡精品| 18涩涩午夜精品.www| 水野朝阳av一区二区三区| 精品一区二区三区久久久| 99re视频精品| 91精品国产综合久久精品图片| 欧美精品一区二区久久久| 中文字幕日韩一区| 日本欧美久久久久免费播放网| 国产98色在线|日韩| 欧美性猛片aaaaaaa做受| 欧美成人一区二区| 亚洲免费看黄网站| 精品亚洲aⅴ乱码一区二区三区| 成人av动漫网站| 欧美一区二区视频在线观看2020| 亚洲国产成人在线| 午夜免费欧美电影| 国产99久久精品| 911国产精品| 中文字幕在线视频一区| 琪琪久久久久日韩精品| 一区二区三区 在线观看视频| 91福利在线播放| 国产91精品在线观看| 美女一区二区三区在线观看| 亚洲激情中文1区| 亚洲国产精品99久久久久久久久 | 国产黄人亚洲片| 视频在线在亚洲| 亚洲高清免费一级二级三级| 久久免费电影网| 日一区二区三区| 亚洲午夜一区二区| 亚洲男人天堂av| 2022国产精品视频| 久久久国产精品午夜一区ai换脸| 国产一区二三区好的| 国产成人免费高清| 最新中文字幕一区二区三区| 久久精品免费在线观看| 在线日韩国产精品| 国产精品国产三级国产普通话蜜臀 | 国产一区不卡视频| 欧美日韩在线免费视频| 国产精品久久久久久久浪潮网站| 久草热8精品视频在线观看| 欧美日韩一区二区三区免费看| 国产精品国产三级国产普通话蜜臀 | 亚洲三级久久久| 国产一区二区在线电影| 欧美一级一级性生活免费录像| 一区二区三区在线观看动漫| 9色porny自拍视频一区二区| 国产午夜精品一区二区| 捆绑变态av一区二区三区| 91麻豆精品国产91久久久资源速度| 亚洲乱码中文字幕综合| 91麻豆免费在线观看| 亚洲日穴在线视频| 色婷婷久久一区二区三区麻豆| 国产欧美精品一区aⅴ影院 | 国产精品一二三在| 欧美精品一区二区在线观看| 捆绑紧缚一区二区三区视频| 欧美电视剧免费观看| 看片的网站亚洲| 久久亚洲二区三区| 成人性生交大片免费看视频在线| 国产日韩欧美精品一区| 成人久久18免费网站麻豆 | 成人一区二区三区中文字幕| 欧美精品欧美精品系列| 亚洲精品福利视频网站| 欧美性感一区二区三区| 亚洲国产一区二区三区| 欧美日韩亚洲综合一区| 午夜精品久久一牛影视| 91精品婷婷国产综合久久竹菊| 蜜桃av一区二区在线观看| 26uuu亚洲综合色欧美| 国产激情一区二区三区| 综合电影一区二区三区| 日本乱码高清不卡字幕| 日韩电影在线一区| 久久久久久久综合狠狠综合| 国产成a人无v码亚洲福利| 成人免费在线观看入口| 欧美三级三级三级爽爽爽| 美女网站色91| 国产精品女上位| 欧美视频一区在线观看| 久久99久久精品| 综合久久久久久| 91麻豆精品国产无毒不卡在线观看|