Questions tagged [lecture1]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
54 views

Lecture question from lecture 1 (cs50AI)

In lecture 1(knowledge), Brian gives an example from Harry Potter and concludes that it did not rain that day. My question is that it's never mentioned in the example that rain causes Harry to not ...
0
votes
1answer
44 views

Lecture 1 [Week1] int.c and ints.c

Can anyone please explain me the following: 1. First Example: int i = get_int ("Integer:"); printf ("hello,%i"\n", i); In this example near the % operator we use the declared variable "i". The "...
0
votes
1answer
40 views

Where can I download “src1m” folder of files used in week 1 lecture?

I want to download and run the files David used in the week 1 lecture, the folder's titled 'src1m'.
0
votes
2answers
126 views

Understanding the differences between the recursion examples from the week 4 lecture 1

When David was taking about these two codes: int sigma(int m) { if (m <= 0) return 0; else return (m + sigma(m - 1)); } and int sigma(int m) { return (m + sigma(m - 1)); } I ...