📄 http:^^www.cs.wisc.edu^~cs302^c++^borland4.5^start_borland.html
字号:
Date: Tue, 05 Nov 1996 00:33:47 GMTServer: NCSA/1.5Content-type: text/htmlLast-modified: Wed, 17 Apr 1996 13:52:55 GMTContent-length: 4298<HTML><HEAD><TITLE>Starting the Borland C++ 4.5 IDE (Integrated Development Environment)</TITLE><H1>Starting the Borland C++ 4.5 IDE</H1><P></HEAD><BODY><HR><P>To start the Borland C++ IDE (Integrated Developement Environment), double-click on the <B>Borland C++</B> icon in the <B>CS Apps</B> programgroup:<P><!WA0><!WA0><!WA0><!WA0><IMG SRC="http://www.cs.wisc.edu/~cs302/C++/Borland4.5/borlicon.gif" ALIGN=MIDDLE> Double-click on this icon in the <B>CSApps</B> program group!!<P>After a few moments, the following window will appear:<P><!WA1><!WA1><!WA1><!WA1><IMG SRC="http://www.cs.wisc.edu/~cs302/C++/Borland4.5/borlIDE.gif"><P>This is the starting window of the Borland IDE. In this <EM>integrated</EM> environment, you will be able to write, compile, debug, and run programs. If you have run Borland before, you may or may not see the u:\noname00.cppwindow. There are three main areas of interest in the Borland IDE, themenu bar at the top of the window; the speed bar, which is just below themenu bar; and the status bar at the bottom of the window.The menu bar allows you to perform all the actions necessary forcreating and running programs. The most important menus are the<b>File</b> menu, which allows you to <b>Open</b>, <b>Close</b>, and<b>Save</b> programs; and the <b>Debug</b> menu, from which you canrun a program you have written. The <b>Edit</b> and <b>Search</b>give usefull commands for editing programs, such as: copying,deleting, searching, and replacing test. The bottom half of the<b>Window</b> menu allows switch to any window you have open, whichcan be useful if you have many windows open and the screen iscluttered so it is hard to find what you want. All of these optionswill make more sense to you once you have starting writing programsand working with the Borland IDE. You are encouraged to look throughthe menus and try out the different features you find there. Next, webriefly discuss the speed bar and status bar, after which we willwalking you through writing and running a program. <p>The speed bar is the row of buttons found just below the menu bar: <p><!WA2><!WA2><!WA2><!WA2><IMG SRC="http://www.cs.wisc.edu/~cs302/C++/Borland4.5/speedbar.gif"> <p>The speed bar allows quick access (just click on a button!) tocommonly used operations such a opening/closing files and runningprograms. Every button on the speed bar corresponds to one of thecommands in the menus; the purpose of the speed bar is to allow you toaccess common commands quickly -- with just the press of the button.(On the other hand, not all menu commands have a corresponding speedbar button, so it is sometimes necessary to use the menus.) Besidesthe Open and Save buttons, Run (the lightning bolt) probably gets themost use. The Rebuild All button can sometimes fix "linker" errorsthat you get when you try to run your program. This is especially thecase if you have worked on your program in another lab, such as atDoIT, and then brought the program back to the 302 lab. Sincecomputers can crash or have errors that force a reboot, it is wise tosave your work frequently. Make a habit of clicking on that littleSave button now and again. <p>The Status Bar is found at the bottom of the IDE window. When you move themouse over any button or hold down the button on any menu item, the statusbar will display a brief description of that item's function. Below, wehave pointed the mouse at the Run button on the speedbar, and the statusbar at the bottom is describing to us the function of that button: <p><!WA3><!WA3><!WA3><!WA3><img src="http://www.cs.wisc.edu/~cs302/C++/Borland4.5/status1.gif"> <p>When you are editing a program, the status bar has several other usefuldisplays, as shown below: <p><!WA4><!WA4><!WA4><!WA4><img src="http://www.cs.wisc.edu/~cs302/C++/Borland4.5/status2.gif"> <p>Starting from the left, it tells us: the line and column location of thecursor, whether we are in <b>Insert</b> or <b>Overwrite</b> mode, andwhether the file has been modified since it was last saved. As mentionedabove, it is a good habit to save your files frequently. Most of thetime, you will want to do your editing in Insert mode; this is the familiarmode from most word processors. If you want, you can toggle between Insertand Overwrite mode using the "insert" key, located on your keyboard in thegroup above the arrow keys. <p><hr><ul><li>Next topic: <!WA5><!WA5><!WA5><!WA5><a href="http://www.cs.wisc.edu/~cs302/C++/Borland4.5/new_program.html">Starting a New Program</a></li><li>Up to: <!WA6><!WA6><!WA6><!WA6><a href="http://www.cs.wisc.edu/~cs302/C++/Borland4.5/intro.html">Introduction to Borland C++ 4.5</a></li></ul></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -