vc.html
来自「C ++ in action」· HTML 代码 · 共 35 行
HTML
35 行
<html>
<head>
<title>VC++ Intro</title>
<meta name="description" content="Visual C++ development environment">
<meta name="keywords" content="development, environment, programming, visual, compiler">
<link rel="stylesheet" href="../../rs.css">
</head>
<body background="../../images/margin.gif" bgcolor="#FFFFDC">
<!-- Main Table -->
<table cellpadding="6">
<tr>
<td width="78">
<td>
<tr>
<td class=margin valign=top>
<a href="source/world1.zip"><img src="../../images/brace.gif" width=16 height=16 border=1 alt="Download"><br>source</a>
<td>
<p>For those of you who have the Microsoft Visual C++™ compiler and development environment, click on the download icon in the left margin and download the source and project files for VC++. That should give you a jump start. Put these files in a separate directory and double click on the World1.dsw file. You'll see a window like the one here. Just click on the Build button (highlighted in the picture) and your program will be built.
<p><img src="images/msdev.gif" width=547 height=226 border=0 alt="Visual C++">
<p>
To run the program <var>world1.exe</var> created by the compiler, you'll need to open a DOS window, change directory to your project's directory, change it once more to go into the <var>debug</var> subdirectory and then type <var>world1</var>. Running the program directly from the development environment is possible, but after the program executes, its output DOS window is immediately closed, so you won't be able to see what it did.
<p><img src="images/output.gif" width=332 height=124 border=0 alt="DOS output window">
</table>
<!-- End Main Table -->
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?