Questions tagged [shorts]

The tag has no usage guidance.

0
votes
1answer
88 views

Switch(c) undeclared identifier

I am trying to compile the example codes from the shorts with Doug Lloyd. I was putting together the switch.c example, and there seems to be a problem with the c of switch (c). Here is what I have. ...
0
votes
1answer
419 views

I don't understand how the collatz(n) recursive function works

If you watch the short on recursion in week2 2018, Doug explains how calculate the steps for the collatz conjecture. I don't understand how the solution he proposes can work: int collatz(int n) { ...
0
votes
2answers
108 views

C data types and format specifiers

I was playing around with data types and format specifiers. Compiling the first snippet of code gives no errors but when I try to use unsigned shorts (or shorts in general) I get an error on line 12: ...
0
votes
1answer
45 views

Week 3 Binary Search Video Short question

I just watched the short for binary search and I'm having trouble understanding how making a conditional of (max < min) would mean that the number is not in your array (timestamp 04:05). I get ...
-2
votes
1answer
22 views

Shorts Fall 2014

I had already downloaded Fall 2013 shorts but now I have decided to complete cs50x next year. Are Fall 2014 shorts exactly the same as Fall 2013 ones?
1
vote
1answer
271 views

Where is the CS50 style guide document?

In his short on C style in week 1, Tommy refers to a style guide. I can't find it. Where is it? I have already looked through the cs50 site and can't find such a document there.
1
vote
1answer
208 views

Subtitle files for problem set 0 videos

Where can I find the SRT files that go with the videos in the problem set 0 specifications?
3
votes
1answer
86 views

Do video shorts include any content that the readings don't?

I've been able to do fine viewing the lectures and several shorts, but reading the recommended readings and skipping the shorts might be even more structured if one is clear he wants to have an ampler ...
0
votes
1answer
64 views

Source code from the Week 7 short, “Singly Linked Lists”

Is the source code explained in the short "SINGLY LINKED LISTS", somewhere available?
4
votes
2answers
137 views

What is the difference between ++i and i++?

After watching Precedence in the Week 1 Shorts, I know what i++ means, but I still don't understand: What is the difference is between i++ and ++i?