09:01:02 From Mackenzie Nicole Devilbiss : access code for the quiz?? 09:01:14 From Guillermo : Is the password 1234? 09:01:31 From Iker Loic De Icaza Astiz : yes 10:03:18 From Andres Vargas : What can be a use case scenario for const int* const cpc = &ci? 10:06:06 From Kyle Knoepfel : It’s a rare occurrence, as ‘const int* p = &i’ is often sufficient. However, it is an extra degree of const correctness. For example, you could never call ‘delete p’ in that case. 10:06:53 From Marc Paterno : This gives a pointer through which you can read the integer, but not modify the integer, nor modify the pointer itself. Does that answer your question? 10:12:07 From Andres Vargas : Hi Marc, Kyle. Yes, thank you 10:13:21 From Rishabh Uniyal : what does it mean when we say, "I have a 64 bit machine"? 10:14:38 From Kyle Knoepfel : Oops. Marc just pointed out to me you can call ‘delete p’, you just can’t set p = nullptr. 10:15:23 From Marc Paterno : A 64-bit machine is a machine in which the central processing unit (CPU) works with 64-bit values (e.g. pointers are 64 bits). Much modern hardware is of this type. 10:16:34 From Marc Paterno : If you’re working on a Linux machine, and “uname -m” return x86_64, you are on a 64-bit machine. 10:26:01 From Carlos Rimola : Rishab, does your question refer to why a C++ "int" is not 64 bits (vs 32 bits) on a 64-bit machine (processor)? 10:26:42 From ysun : I found my roll call for today is absence. 10:27:20 From ysun : Anything wrong with it? 10:28:09 From Vito Di Benedetto : I just found the same 10:54:46 From Andres Vargas : What are these "garbage int values" when doing int a[100];? Is memory that was present and is being read as integers? 10:54:59 From Kyle Knoepfel : Yep 11:18:51 From Andres Vargas : Yes I'm here 11:18:53 From Andres Vargas : but no mic 11:18:55 From Andres Vargas : :/ 11:23:00 From Rishabh Uniyal : what is the advantage of linked list over a regular list 11:23:47 From Marc Paterno : In C++, a doubly-linked list is a regular list. Do you mean what is the advantage of a list over an array? 11:24:05 From Rishabh Uniyal : yes 11:25:07 From Marc Paterno : Compared with an array, a list allows you to put new items on the front of the back of the list, or to insert new elements in the middle. Arrays do not allow that. 11:26:03 From Marc Paterno : The differences between vector, dequeue and list are partly in what functions they support, and partly in which functions are most efficient. 11:26:04 From Rishabh Uniyal : i see! so, arrays are immumatable while lists can be mutated Thanks 11:26:36 From Marc Paterno : Almost — one can modify the elements in an array, but the number of elements in the array is immutable. 11:26:55 From Becky Kowalski : So I guess there's no "append" function for an array? 11:28:36 From Marc Paterno : That is correct; there is no ‘append’ function for an array. Vector, list and dequeue have ‘push_back’, which appends a new item to the end of the sequence. Dequeue and list (but not vector) also have push_front. And all have many other member functions as well. 11:29:27 From Becky Kowalski : Thank you! 11:31:25 From Jaiden Parlone : What is meant by 'doubly linked' 11:31:47 From Kyle Knoepfel : You can traverse forwards and backwards through the list elements 11:31:58 From Jaiden Parlone : Gotcha, thank you! 11:32:05 From Kyle Knoepfel : No forward. There is such a thing as a forward_list where you can only go forward. 11:32:15 From Kyle Knoepfel : Errgh… Meant to say No problem. :) 11:32:30 From Jaiden Parlone : Haha, thanks again! 11:35:25 From Andres Vargas : Are we missing in 486? 11:35:32 From Kyle Knoepfel : Yep… 11:35:56 From Kyle Knoepfel : Well, actually in C++17 the compiler will deduce it for you. But I don’t think that’s the intent of this exercise. 11:36:43 From Andres Vargas : Thanks! 11:37:10 From Marc Paterno : Because the {2, 3, 4} are integer literals, the compiler is able to do the deduction Kyle mentioned. 11:38:25 From Andres Vargas : What's the difference between begin(a) and a.begin()? 11:39:56 From Marc Paterno : a.begin() requires that the type of ‘a’ be a class with a member function ‘begin' 11:40:34 From Marc Paterno : begin(a) can be called on things like a C-style array, which is not a class type and which has no member functions. 11:41:31 From Andres Vargas : So if a is an std::list a.begin() the same as begin(a)? 11:41:42 From Kyle Knoepfel : Yes 11:42:48 From Kyle Knoepfel : The full call is std::begin(a), which can be abbreviated as begin(a) if a is a type that lives in the std namespace (in this case std::list). 11:46:05 From Andres Vargas : Thank you 12:03:12 From Andres Vargas : Same here, password not working 12:03:40 From Ishwar Singh : Same for me and I am not allowed any room. 12:03:47 From Ishwar Singh : alloted* 12:03:54 From Andres Vargas : Now it works 13:02:37 From Jaiden Parlone : Thank you for today!