Lecture 1 - Slide 20 : 34 |
![]() | C++ preview: Similar program with vectors - variation 2. |
![]() | C++ preview: Similar program with vectors - variation 3. |
![]() | A similar C program with pointers - two dimiensional. |
![]() | A solution: Copy the array in a for loop. |
![]() | A solution: Copy the array with memcpy - a low-level alternative. |
![]() | Less confusing version that uses pointers. |
![]() | Output from both of the two programs above. |