Week 8 Day 2 - Memory Leaks, RPG 41
Channel:
Subscribers:
2,700
Published on ● Video Link: https://www.youtube.com/watch?v=CrrdvvavzH0
Today we went over a common problem when dealing with linked lists, the memory leak. It's not as bad as a memory corruption or seg fault or other crashing bug, but it's still bad, since it will increase memory consumption over time. Remember that for every new, you need a delete. The best way of handling this is to only do news in a constructor, and deletes in a destructor. RAII is what this is called in C++.
We then went over the next homework assignment, which is an open ended creative project where you get to make a Role Playing Game (RPG) with a partner, using everything we've learned so far in this class.
Other Videos By Bill Kerney
2021-03-09 | Week 9 Day 1 - Matrix x Vector, Traceline |
2021-03-09 | Week 9 Day 1 - Hex & Octal, Image Processing, NEON |
2021-03-09 | Week 8 Day 1 - Corporate Censorship |
2021-03-08 | Week 9 Day 1 - How to UNIX |
2021-03-06 | Week 7 Day 3 - Is/Ought |
2021-03-05 | Lecture 8 - Procedural Generation |
2021-03-05 | Week 8 Day 3 - Deques, Pairs, Tuples |
2021-03-04 | Week 8 Day 2 - Cross Product |
2021-03-04 | Week 8 Day 2 - SIMD |
2021-03-04 | Week 7 Day 2 - Modal Logic |
2021-03-03 | Week 8 Day 2 - Memory Leaks, RPG 41 |
2021-03-02 | Week 8 Day 1 - Dot Products |
2021-03-02 | Week 8 Day 1 - Out of Order Execution, Register Renaming, Superscalar |
2021-03-02 | Week 7 Day 1 - Quantifiers |
2021-03-01 | Week 8 Day 1 - Templates |
2021-02-28 | Week 7 |
2021-02-28 | Week 7 Day 3 - Deep Copies, Stacks |
2021-02-27 | Week 6 Day 3 - Moar Midterm Review |
2021-02-25 | Week 7 Day 2 - Vector Math |
2021-02-25 | Week 7 Day 2 - Pipelining |
2021-02-24 | Week 7 Day 2 - Debugging II and Queues |
Tags:
csci41
rpg
memory leak