CSCI 3342 Submission 05
Linked Lists of Names
Supplied file(s) |
$sub05/demo_names_list (the demo executable)$sub05/names_list.txt (the "TextItems" file containing
program information)$sub05/names_list.o (the pre-compiled driver)$sub05/functions.h (the specification file containing
prototypes for the functions you must write)
|
---|---|
Files to submit |
functions.cpp (the source code file containing your
function definitions)names_list (your executable)my_tests.sh (your testing script)
|
Where to put them |
Copy them to your u##/submissions/s05 directory.
|
When they're due | Sunday, March 2, 2025 @11:59pm |
The main goal of this week's submission is to give you an opportunity to write some C++ code that uses pointers and gets its storage from the free store, but there is also a point at which you may find the STL useful as well, depending on how you write one of the functions.
Your job will be to implement the functions whose prototypes have been given
in the functions.h
specification file, and place your function
definitions in a file called functions.cpp
, which will then be
separately complied and linked with the instructor-supplied driver file
names_list.o
to produce your final executable file
names_list
. This procedure is, of course, the same one used for
the previous submission.
functions.h
file)
to see what functions you have to write. It contains a prototype for each
of the required functions, along with a brief doxygen-style comment
describing what task that function performs when the program runs.
uxx
account.
functions.cpp
file:
extern const string MY_ID_INFO = "\t\tLastname:Firstname:A00123456:u??";Make sure, of course, that it contains your information, and not the generic information shown.
build.sh
script similar
to the one supplied for the previous submission to build your executable
for testing at each stage of the development, and for eventually building
the final executable for submission. You will also need a testing script
to test each iteration of the executable as you develop your program, and
this is, as usual, one of the files to be submitted.