Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.220.242.160
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/ndlutz/school/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ndlutz/school/Test Drivers for Stack and Queue CopyNth.rtf
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch38\stshfloch38\stshfhich38\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f38\fswiss\fcharset0\fprq2{\*\panose 00000000000000000000}Calibri;}{\f40\froman\fcharset238\fprq2 Times New Roman CE;}
{\f41\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f43\froman\fcharset161\fprq2 Times New Roman Greek;}{\f44\froman\fcharset162\fprq2 Times New Roman Tur;}{\f45\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
{\f46\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f47\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f48\froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f420\fswiss\fcharset238\fprq2 Calibri CE;}
{\f421\fswiss\fcharset204\fprq2 Calibri Cyr;}{\f423\fswiss\fcharset161\fprq2 Calibri Greek;}{\f424\fswiss\fcharset162\fprq2 Calibri Tur;}{\f427\fswiss\fcharset186\fprq2 Calibri Baltic;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;
\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;
\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0 
\fs22\lang1033\langfe1033\loch\f38\hich\af38\dbch\af38\cgrid\langnp1033\langfenp1033 \snext0 \styrsid2968396 Normal;}{\*\cs10 \additive \ssemihidden Default Paragraph Font;}{\*
\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv 
\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\lang1024\langfe1024\loch\f38\hich\af38\dbch\af38\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}}
{\*\latentstyles\lsdstimax156\lsdlockeddef0{\lsdlockedexcept Normal;heading 1;heading 2;heading 3;heading 4;heading 5;heading 6;heading 7;heading 8;heading 9;toc 1;toc 2;toc 3;toc 4;toc 5;toc 6;toc 7;toc 8;toc 9;caption;Title;Default Paragraph Font;Subtitle;Strong;Emphasis;Table Grid;}}
{\*\rsidtbl \rsid155746\rsid332920\rsid2968396\rsid3024395\rsid4458114\rsid4658673\rsid9384896\rsid12014503\rsid12780237\rsid13828457\rsid14961844}{\*\generator Microsoft Word 11.0.0000;}{\info{\title Test Drivers for CopyNth, Due Date, etc}{\author  }
{\operator  }{\creatim\yr2008\mo10\dy21\hr8\min34}{\revtim\yr2008\mo10\dy21\hr8\min34}{\version2}{\edmins5}{\nofpages1}{\nofwords344}{\nofchars1966}{\*\company  }{\nofcharsws2306}{\vern24611}{\*\password 00000000}}{\*\xmlnstbl {\xmlns1 http://schemas.micr
osoft.com/office/word/2003/wordml}}\paperw12240\paperh15840\margl720\margr720\margt720\margb720\gutter0\ltrsect 
\widowctrl\ftnbj\aenddoc\donotembedsysfont1\donotembedlingdata0\grfdocevents0\validatexml1\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors1\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\formshade\horzdoc\dgmargin\dghspace110
\dgvspace180\dghorigin720\dgvorigin720\dghshow2\dgvshow1
\jexpand\viewkind1\viewscale100\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct
\asianbrkrule\rsidroot332920\newtblstyruls\nogrowautofit \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\endnhere\sectlinegrid360\sectdefaultcl\sectrsid332920\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}
{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}
{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9
\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\qc \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid13828457 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0 
\fs22\lang1033\langfe1033\loch\af38\hich\af38\dbch\af38\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid332920\charrsid13828457 \hich\af38\dbch\af38\loch\f38 Test Drivers for CopyNth, }{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid3024395 
\hich\af38\dbch\af38\loch\f38 Due Date, }{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid332920\charrsid13828457 \hich\af38\dbch\af38\loch\f38 etc.}{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid2968396\charrsid13828457 
\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid332920 
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid332920\charrsid13828457 \hich\af38\dbch\af38\loch\f38 CopyNth as a }{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid155746\charrsid13828457 \hich\af38\dbch\af38\loch\f38 Stack}{\rtlch\fcs1 \af0 \ltrch\fcs0 
\b\insrsid332920\charrsid13828457 \hich\af38\dbch\af38\loch\f38  Class Member
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid332920 
\par \hich\af38\dbch\af38\loch\f38 To test CopyNth member for either }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid4658673 \hich\af38\dbch\af38\loch\f38 stack}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid332920 \hich\af38\dbch\af38\loch\f38  implementation, use }{
\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 \hich\af38\dbch\af38\loch\f38 stack}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid332920 \hich\af38\dbch\af38\loch\f38 client.cpp}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 \hich\af38\dbch\af38\loch\f38 
 found in the cs311share directory.}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid332920 
\par 
\par \hich\af38\dbch\af38\loch\f38 There are include statements at th}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid4658673 \hich\af38\dbch\af38\loch\f38 e top of the file for each stack}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid332920 \hich\af38\dbch\af38\loch\f38 
 implementation.  Comment out the }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid3024395 \hich\af38\dbch\af38\loch\f38 \hich\f38 #include \'93\loch\f38 \hich\f38 stackll.h\'94\loch\f38 \hich\f38  to test the array implementation; comment out the #include \'93
\loch\f38 \hich\f38 stackarray.h\'94\loch\f38  to test the linked list \hich\af38\dbch\af38\loch\f38 implementation}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid332920 \hich\af38\dbch\af38\loch\f38 .
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 
\par \hich\af38\dbch\af38\loch\f38 Make sure the MAXSTACK constant in stackarray.}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 \hich\af38\dbch\af38\loch\f38 h}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 \hich\af38\dbch\af38\loch\f38  is 6.
\par 
\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid155746 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid155746\charrsid13828457 \hich\af38\dbch\af38\loch\f38 CopyNth as a Queue Class Member
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 
\par \hich\af38\dbch\af38\loch\f38 To test CopyNth member for either queue implementation, use queueclient.cpp found in the cs311share directory.
\par 
\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid3024395 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 \hich\af38\dbch\af38\loch\f38 There are include statements at the to
\hich\af38\dbch\af38\loch\f38 p of the file for each queue implementation.  }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid3024395 \hich\af38\dbch\af38\loch\f38 \hich\f38 Comment out the #include \'93\loch\f38 \hich\f38 queuell.h\'94\loch\f38 \hich\f38 
 to test the array implementation; comment out the #include \'93\loch\f38 \hich\f38 queuearray.h\'94\loch\f38  to test the linked list implementation.
\par 
\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid155746 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 \hich\af38\dbch\af38\loch\f38 Make sure the MAXQUEUE constant in queuearray.cpp is 6.
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 
\par 
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid12014503\charrsid13828457 \hich\af38\dbch\af38\loch\f38 CopyNth as a client of the StackType Class
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid155746 
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 \hich\af38\dbch\af38\loch\f38 
Use stackcopynthclient.cpp found in the CS311share directory.  I have the framework for the function at the beginning of the file.  You just have to fill in the body.  It turns out that this function cannot be ma\hich\af38\dbch\af38\loch\f38 \hich\f38 
de as \'93\loch\f38 \hich\f38 generic\'94\loch\f38  as the class member}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12780237 \hich\af38\dbch\af38\loch\f38  version}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 \hich\af38\dbch\af38\loch\f38 
s, so the function in the driver is for a stack that holds char values.  Notice how the calls to CopyNth in this client are formatted differently than the calls to a CopyNth class member.
\par 
\par 
\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 {\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid12014503\charrsid13828457 \hich\af38\dbch\af38\loch\f38 CopyNth as a client of \hich\af38\dbch\af38\loch\f38 
the QueueType Class}{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid155746\charrsid13828457 
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 
\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid12014503 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 \hich\af38\dbch\af38\loch\f38 \hich\f38 
Use queuecopynthclient.cpp found in the CS311share directory.  I have the framework for the function at the beginning of the file.  You just have to fill in the body.  It turns out that this function cannot be made as \'93\loch\f38 \hich\f38 generic\'94
\hich\af38\dbch\af38\loch\f38  as the class member}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12780237 \hich\af38\dbch\af38\loch\f38  versions}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 \hich\af38\dbch\af38\loch\f38 
, so the function in the driver is for a queue that holds char values.  Notice how the calls to CopyNth in this client are formatted differently than the calls to a CopyNth class member.
\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 
\par 
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid12014503\charrsid13828457 \hich\af38\dbch\af38\loch\f38 What you should turn in}{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid13828457\charrsid13828457 \hich\af38\dbch\af38\loch\f38  on Thursday, O
\hich\af38\dbch\af38\loch\f38 ctober 23}{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid12014503\charrsid13828457 
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 
\par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid14961844 \hich\af38\dbch\af38\loch\f38 We will kill a LOT}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 \hich\af38\dbch\af38\loch\f38  of trees if everyone turns in }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid14961844 
\hich\af38\dbch\af38\loch\f38 copies of all of the files involved in this assignment plus the 6 test driver runs.  Instead, all I need from you are hard copies of the 6 functions you have written.  You can copy/paste all of th
\hich\af38\dbch\af38\loch\f38 em into one file, preferably just a text file using Notepad, rather than a word processing file using Word or Wordpad.}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12014503 
\par }}

Stv3n404 - 2023