http:^^www.cs.cornell.edu^info^courses^spring-96^cs100^programs^program2.html

来自「This data set contains WWW-pages collect」· HTML 代码 · 共 78 行

HTML
78
字号
MIME-Version: 1.0
Server: CERN/3.0
Date: Monday, 16-Dec-96 23:33:13 GMT
Content-Type: text/html
Content-Length: 2120
Last-Modified: Thursday, 01-Feb-96 20:32:23 GMT

<html><head><title> CS100 Program 2 </title></head><body><h2> CS100 Program 2 </h2><strong> Due: </strong> Thursday, February 8, 1996. <p><blink><strong>IMPORTANT:</strong></blink>Please note the following modifications to the Program 2 handout.<ul><li> The project file "choose.mu" and source file "choose.c" were notpresent in the initial Program 2 folder.  These can be found in thefolder "Program 2 choose", which should be downloaded in the usualway. <p><li> After you get your choose function working properly, as explained inStep 1 of Part 2, copy the body of this function over to thetemplate for "choose" in the file "pascal.c" (you'll find a commentwhere this body should go).  If you added extra code for tracingpurposes while developing the function "choose", make sure youdelete this code before copying. <p><li> It is no longer necessary to turn in a listing of "choose.c", sincethe file "pascal.c" now contains your choose function.  Thus, in thechecklist of "What to hand in", delete the item beginning "A listingof the file choose.c ...", and, in the following item, note that"pascal.c" will now also contain your definition of "choose". <p></ul><strong>Note:</strong> When you try to run Program 2, CodeWarrior maygive you a warning about a "Link" error or warning.  You may safelyignore this.  The warning occurs because we are defining our ownfunction <code>exp</code> which is already defined in one of thelibraries.  CodeWarrior will use our new definition instead of the oldone. <p><strong>Note:</strong> You may only use constructs that have beentaught in class to write Program 2, i.e. expressions, functions, andrecursion.  (Even if you know about loops, don't use them.)<hr>Click these links to retrieve the Program 2 folders: <p><a href ="ftp://ftp.cs.cornell.edu/pub/courses/cs100-s96/Program2.sea.hqx">Program 2 Folder </a> <p><a href ="ftp://ftp.cs.cornell.edu/pub/courses/cs100-s96/Program2choose.sea.hqx">Program 2 Choose Folder </a> <p></body><hr><address>CS100 Spring 1996 <br>pierce@cs.cornell.edu</address></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?