Question: You will create a single file named strmap.c containing your implementation of each of the interface functions, and nothing else. It may contain other auxiliary
You will create a single file named strmap.c containing your implementation of each of the interface functions, and nothing else. It may contain other auxiliary functions besides the implementation functions, and
it must include a hash function, but in particular it must not contain a main program. It should not # include any files other than strmap.h
You are responsible for ensuring that your implementation works correctly on your VM It is strongly suggested that you develop and test your code on your VM The Canvas page for this assignment will include links and URLs to the strmap.h file, as well as the source code for a rudimntary test program called tester.c
To test your implementation with a test driver ie a program that calls the hash map functions named driver.c compile it with your implementation like this:
gcc Wall o test driver.c strmap.c
This will produce the executable file test, which you can then execute by giving the command test.
A rubric will be provided that describes what your code will be graded on In addition, your code must satisfy the following requirements:
Support the creation and use simultaneously of any number of strmapt instances, of any legal size.
Do not include any global or static global variables you should not need any
Do not call any library functions, other than those mentioned above malloc calloc, strcmp and print
Correctly implement the behavior of the strmap functions as described in the header file.
None of the functions in your implementation other than strmapdump should produce any output. So if you put in print statements during debugging, be sure to remove them or comment then out before you turn it in You will lose points for this because it could mess up our grading process.
Place a comment at the top of the file containing your name, which indicates that it is your code, written by you. If you use code from any other source, whether classmates, Internet, AI or whatever, you must cite that source.
You will upload your strmap.c file as your only submission for this assignment. We will compile and run it with a test driver; that program will go well beyond what is included in the simple test program on the assignment page.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
