CS 240 Lecture Notes - Lecture 7: Doubly Linked List, Loop Space, Binary Search Tree

61 views18 pages

Document Summary

Reflection is where the types know what type they are. Once a variable is given a type you cannot change the existing type of the piece of data. You run into a problem when you do something like this. Classes in c++ are user made types typename template class foo{ //it a type not just referring to scope. Not a namespace. typename template class foo{ //compile doesn"t know here if you are giving. //it a type not just referring to scope. typename t::iteration iter; We did not have this issue before because our current lab has an embedded class which causes this problem. *iter = 5. ; iter is a pointer to an item in the int. Simple sorting rules: 1 rule for all algorithms: Sorting: the resulting dataset has to be a permutation of the original dataset, means you cannot add data or subtract data.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents