Yeah, that's pretty much the goal. I want to implement it as a chained hashtable, using the hash table as a table of buckets to store individual linked lists. Each List Node then has a pointer to a...
Type: Posts; User: CodeTheLoad
Yeah, that's pretty much the goal. I want to implement it as a chained hashtable, using the hash table as a table of buckets to store individual linked lists. Each List Node then has a pointer to a...
Originally I had made the Persons data private with the intention of using accessors and mutators in the .cpp file. If I was to make the data public in the Person.h file would that not make the...
will i still be able to dereference the pointer to Person if the data in the Person class is private? Or should i just make it public?
TO CLARIFY: i want the " Person* data " to return a collection of all the fields in the Person class (name, address, number etc.) so that i can access each field and change the data when adding a new...
Okay so this may be a little hard to follow, A because logic can be tough to get your head around without a visual aid & B i might not explain it the best haha.. so bare with me please...
ok so I...
Thank you, appreciate the help! :) Yeah i'm not even sure i know what i'm asking some times to be honest haha... Practice makes perfect i guess (or at least a little less hopeless).
Looking at my code again there.. The thought occurred that the data and next pointer that are stored in my ListNode class are PRIVATE, i could be wrong but does this mean they can only be accessed by...
Okay so i'm gonna start with the old cliche "I'm new to C++...", I dont understand the use of the getNext() setNext() etc functions i am supposed to implement in my ListNode.cpp file..
class...
Hello Everyone!
Okay so I am studying a computing course and i am new to the C language. I have been given an assignment but i have no idea where to start, if anyone could provide any useful...