INB221 Lecture Notes - Lecture 2: Joe Bloggs, Memory Address, Type System
Document Summary
Lecture 2 inb371 data structures and algorithms. Lecture overview enumeration types data and memory pointers arrays pointers and arrays records dynamic allocation. By nesting different types together, you can build "algorithmical complexity", you can also build complexity with data types. You can create complex data types with primitive data types such as integers, characters, floats, booleans, etc. The internal machine address of a value in the computers memory. in c#, pointers exist but you can"t "play" with them. In c++, you can access the lowest levels of memory, and are able to manipulate memory as required. Ordered collection of data values of the same type. Components of a record identified by a field name, and can be different types. Enumeration types are a type with a set of values which we create. We can define the domain of values for an enumeration type.