- is a program that keeps your docker images / layers safe
- metadata around images
- listen on port 5000 (usually)
- maintains an index and searches tags
- something references itself
- needs a terminating control structure or else will continue forever
- good for searching and backtracking
- is always slower in c++ than iteration
- stack does have a finite amount
- every time a recursive function is called, it's call is placed onto the stack and we jump to the function execution, leaving our place in the previous call until the current call is finished
stack overflow
is when your call stack is larger than your operating system allows- usually only with infinite recursion
general
- a pointer uniquely identifies some piece of memory in your program
- allows you fine control of memory usage
- you can give any value to a pointer, but it will not check if it is valid or exists
- will turn into a runtime error
- you must
deallocate
the memory youallocate
for a pointer when you are done with it - pointers can have any dataType
data abstraction
- allow you to preform data abstraction and create new dataTypes in an Object Oriented fashion
- a place to hold data and manage operations on that data
- holds functions that a consumer can call
class
andstruct
both have the same capabilities in c++- have members, functions, constructors
- different defaults:
Strings
Strings
are represented by arrays of characters in this course- also with the
String
class, but not in this class
- also with the
- size of array must be specified at time of creation (constant or literal)
- must be known at compile time, can not be a variable brought in by
cin
, etc. - can copy elements into a bigger array
- must be known at compile time, can not be a variable brought in by
- must settle on a max length (defined array size)
sahar yousef
status quo
- today we can work anytime, anywhere, on any device, with anyone around the world
- productivity has dipped and stagnated in the past 10 years
- hypothesis was the more we connect people, the more productive they would become
- we struggle to get things done more than ever
- feeling overwhelmed, busy
NewerOlder