Question about a Project
For my C++ Data structures class, we were given our final programming assignment for the semester. My only question is on what the heck we are to do?
The title of the assignment is IP Routers and Hash Tables. Now we've worked with Hash Tables eariler in the semester, so that's not the problem. The problem is we are to simulate an Internet Router with various packets and what nots.
We are to design classes that use, and this is where I am unclear about the purpose of, template parameters:
K = key_type;
D = data_type;
H = hash_type;
C = bucket_type;
Along with some search algorithm. The professors notes on the material at hand, "Tables and Associative Arrays" basically suck, so I was hoping to get a bit of a better explanation or get pointed in the right direction as far as what Tables and Associative Arrays are. I know, Google.
Any help is appreciated, thank you.
The title of the assignment is IP Routers and Hash Tables. Now we've worked with Hash Tables eariler in the semester, so that's not the problem. The problem is we are to simulate an Internet Router with various packets and what nots.
We are to design classes that use, and this is where I am unclear about the purpose of, template parameters:
K = key_type;
D = data_type;
H = hash_type;
C = bucket_type;
Along with some search algorithm. The professors notes on the material at hand, "Tables and Associative Arrays" basically suck, so I was hoping to get a bit of a better explanation or get pointed in the right direction as far as what Tables and Associative Arrays are. I know, Google.
Any help is appreciated, thank you.
