Questions tagged [lecture5]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
52 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
1answer
31 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
1answer
31 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 ...