📄 http:^^www.cs.wisc.edu^~milo^cs302^using_projects.html
字号:
Date: Mon, 11 Nov 1996 17:16:01 GMTServer: NCSA/1.5Content-type: text/htmlLast-modified: Mon, 04 Nov 1996 18:28:21 GMTContent-length: 2937<HTML><HEAD><TITLE>Using Projects - CS 302 Fall 1996 - Section 4</TITLE></HEAD><BODY><H1 ALIGN=CENTER> <!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><A HREF="http://www.cs.wisc.edu/~cs302">CS 302</A> Fall 1996 - <!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><A HREF="http://www.cs.wisc.edu/~milo/cs302.html">Section 4</A></H1> <H2 ALIGN=CENTER>Algebraic Language Programming in C++</H2><H4 ALIGN=CENTER>Instructor: <!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><A HREF="http://www.cs.wisc.edu/~milo">Milo M. Martin</A> (milo@cs.wisc.edu)</H4><hr><br><H1 ALIGN=CENTER>Using Projects</H1><hr><br><UL> <LI> The first thing to do is to make sure that you have a directory"u:\programs\prog6\". You can do this by going to file manager. Makesure you can see a window displaying the u: drive. Also make surethat the "u:\programs" is highlighted in the left pane. Then go to"File->create directory", and make a directory called "prog6." <LI> From now on, we will be using a project to manage our manyprograms. If you want to work on program 6, you will have to makesure that you've opened the project file for program 6. To createthis project, we follow these steps:<OL> <LI> Go to "Project->new project". This should bring up a dialog box. <LI> In this dialog box, for "Project Path and Name," we will fill in "u:\programs\prog6\prog6.ide." <LI> In this dialog box, for "Target Type," make sure that "EasyWin [exe]" is selected. <LI> Then click on the button "Advanced". This should bring up another dialog box.<OL> <LI> In this dialog box, make sure that the "initial node" is ".cpp", and that .rc and .def are <b>not</b> checked. <LI> click okay to close this dialog. This should return us to the other dialog. <LI> Click okay to close this dialog.</OL> </OL><LI> We should now be in Borland, and there should be a new window with thetitle "project" that has something like this in it:<PRE WIDTH=80> [ ] prog6.exe [.exe] ..... | - prog6.cpp [.cpp]</PRE>This tells us that the project wants to make the program "prog6.exe",and it knows that "prog6.cpp" is used to make that program. We wantto add one more file to this project.<OL> <LI> First, click on "prog6.exe" to make sure it is highlighted. <LI> Next, press the "insert" key on the keyboard. This should bring up a dialog. <LI> Go to "u:\programs\prog6\" and enter "Appointment.cpp", and click okay. <LI> Notice that we did not add the "Appointment.h" file to thelist. You should not add header (.h) files to this list.</OL> </OL> That should be it. You run your program in the same way, and debug itin the same way. To actually write the program, you will need to editthe files "prog6.cpp", "Appointment.cpp", and "Appointment.h".</UL><HR><ADDRESS> <!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><A HREF="http://www.cs.wisc.edu/~milo">Milo M. Martin</a> (<!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><A HREF="http://www.cs.wisc.edu/cgi-bin/finger?milo">milo</a>@<!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><A HREF="http://www.cs.wisc.edu">cs</a>.<!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><A HREF="http://www.wisc.edu">wisc.edu</a>)<br></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -