http:^^www.cs.wisc.edu^~cs367-4^samples.html

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

HTML
115
字号
Date: Tue, 05 Nov 1996 20:57:43 GMTServer: NCSA/1.5Content-type: text/htmlLast-modified: Sat, 02 Nov 1996 03:05:52 GMTContent-length: 4426<HTML><!-- (c) 1996 James D. Skrentny   Permission is granted to use this document as you wish so long   as this restriction and the copyright notices remain untouched. --><HEAD><TITLE>CS367 Sample Code </TITLE></HEAD><BODY><CENTER><H2>Sample Code</H2></CENTER><P>The sample programs are ordered from most to least recent.  Informationfor <!WA0><A HREF="#howto">how to get copies</A> of sample code is given below. See <!WA1><A HREF="http://www.cs.wisc.edu/~cs367-4/working/working.html">Working in UNIX with C++</A> for informationon how to compile and execute C++ code. <UL> <LI><B>Lectures 11/4+</B>, Queue ADT (queue):     <!WA2><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/queue/readme">readme</A>,     <!WA3><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/queue/queue.h">queue.h</A>,     <!WA4><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/queue/queue.cpp">queue.cpp</A>,     <!WA5><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/queue/queuell.h">queuell.h</A>,     <!WA6><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/queue/queuell.cpp">queuell.cpp</A>,     <!WA7><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/queue/test.cpp">test.cpp</A>,     <!WA8><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/queue/makefile">makefile</A>,     <!WA9><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/queue/QueueIsArray">QueueIsArray</A>, and     <!WA10><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/queue/Lock">Lock</A>. <LI><B>Lectures 10/14+:</B> Stack ADT (stack):     <!WA11><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/readme">readme</A>,     <!WA12><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/stack.h">stack.h</A>,     <!WA13><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/stack.cpp">stack.cpp</A>,     <!WA14><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/stackll.h">stackll.h</A>,     <!WA15><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/stackll.cpp">stackll.cpp</A>,     <!WA16><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/reverse.cpp">reverse.cpp</A>,     <!WA17><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/postfix.cpp">postfix.cpp</A>,     <!WA18><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/balance.cpp">balance.cpp</A>,     <!WA19><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/makefile">makefile</A>,     <!WA20><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/StackIsArray">StackIsArray</A>, and     <!WA21><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/stack/Lock">Lock</A>. <LI><B>Lectures 10/7+:</B> List ADT - linked list implementation (llist):     <!WA22><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/llist/llist.h">llist.h</A>,     <!WA23><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/llist/llist.cc">llist.cc</A>,     <!WA24><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/llist/main.cc">main.cc</A>, and     <!WA25><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/llist/makefile">makefile</A>. <LI><B>Lectures 9/16+:</B> Bird Class:     <!WA26><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/bird.cc">bird.cc</A>,     introduces simple class that manipulates C strings <LI><B>Practice:</B> Tic Tac Toe Game:     <!WA27><A HREF = "http://www.cs.wisc.edu/~cs367-4/samples/tictactoe.cc">tictactoe.cc</A>,     practice C++ program</UL><P><HR><A NAME="howto"> <H2>How to Get Sample Code</H2> <P>On-line code samples often cover examples that are discussed in lecture. Print out copies of these files, and bring them to lecture.  I suggest that you put examples with multiple files in their own directory to keep them separated.  Copies of the samples may be gotten in one of several ways.    <UL>  <LI>The files are linked to this samples page, and may be retrieve by      using the <B>File->Save</B> or the <B>File->Save As</B> command of your      web browser (i.e. Mosaic or Netscape...).  Just go to the page(s) of      sample code, and choose one of the save commands for your browser.  This      is probably the easiest way to get copies when working from your home      computer. <I>You must save the files using the names given in the      samples page for them to compile!</I>  <LI>You can also directly copy files to your <I>computer science</I>      account by using the UNIX <B>cp</B> command.  If there is a single file      for the sample code, enter the following command at the UNIX prompt, and      replace the <B>filename</B> with the name of the file given in the list      above.      <PRE>         % </CODE>cp ~cs367-4/public/html/samples/<B>filename</B>  ./</CODE>      </PRE>      <P>If there are several files for the code sample, they will be placed in      their own directory.  In this case you would enter the following command      at the UNIX prompt, and replace the <B>directory</B> with the name of the      directory shown in parentheses in the list above.      <PRE>         % <CODE>cp ~cs367-4/public/html/samples/<B>directory</B>/*  ./</CODE>      </PRE>      <P>If you you are having problems, make certain that you have not      mistakenly typed a "one" 1, where you should have typed an "el" l.  They      look very similar.  The commands shown above do not have any "ones" in      them. </UL></A><P><HR><ADDRESS><H4>Copyright &copy 1996 James D. Skrentny,<!WA28><A HREF="mailto:skrentny@cs.wisc.edu">skrentny@cs.wisc.edu</A></H4></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

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