It's UWAweek 30 (2nd semester, week 1)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 9 other people reading this forum.


 UWA week 43 (2nd semester, study break) ↓
SVG not supported

Login to reply

👍?
helpful
3:41am Thu 26th Oct, Christopher M.

"Mahit Gupta" [email protected] wrote:

In the question of hastable where we only need to write 2 functions, do we just assume that there is a function called add_to_list or something so that we just use that in our int add_to_hashtable(HASHTABLE *hashtable, char *string); or do we need to write our own function for the lists aswell?

(a reminder than there's many different ways to implement a hashtable)

But if you wished to follow an implementation requiring, say, add_to_list, then, yes, you'd need to write that too. You can rely of there being standard library functions, such as for string handling, etc, that work in the standard way, but anything else needs to be written by you.

(and, if not, the question would say "you can assume the existence of...." )

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  7:24AM Jul 25 2024
Privacy policy