Questions tagged [lecture5]
The lecture5 tag has no usage guidance.
3 questions
1
vote
1
answer
309
views
When does a recursive function actually repeat?
I was just wondering when exactly a recursive function repeats itself.
Below is code from inheritance.c from CS50's Lab 5:
person *create_family(int generations)
{
// TODO: Allocate memory for new ...
1
vote
1
answer
188
views
Lecture 5 Linked Lists: What's going on under the hood?
Sheepishly I must admit I am having difficulty understanding how Linked Lists are implemented. Spent an hour and a half just on this part. The following partial code is from the lecture (comments ...
0
votes
1
answer
42
views
Lecture 5 Data Structures Source Code Error
In order to solidify concepts from the lectures, I usually run some of the source code in my ide and play around with it a little bit.
During lecture 5 around the 55 minute mark, Professor Malan ...