Questions tagged [lectures]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
116 views

implicit declaration of function 'get_int' is invalid in C99

#include<cs50.h> #include<stdio.h> int main(void) { int i = get_int("Integer: "); printf("hello %i\n",i); } Error : implicit declaration of function 'get_int' is invalid in C99 ...
0
votes
1answer
109 views

Purpose of sizeof(book)/sizeof(string) in lectures' binary sort?

string book[] = { "Chen", "Kernighan", "Leitner", "Lewis", "Malan", "Muller", "Seltzer", "Shieber", "Smith" } int main(...
3
votes
1answer
29 views

Why do computers count from zero?

Sorry to ask this basic question but Mr.Malan mentioned in Lecture 0 that computers count from zero. Why is it so?
0
votes
1answer
243 views

the inbuilt cs50's library functions not working

For god sake this one isn't working. Can anybody help? Thanks in advance #include <stdio.h> #include <cs50.h> int main(void) { string s = get_string(); printf("Hello, %s\n", s); }...
0
votes
1answer
24 views

Lecture 6: Do phones having same cellular network have same IP address or each phone has unique IP address?

Dynamic Host Configuration Protocol, which assigns an address each time a new computer joins the local network...it was said in lecture 6 but when i run internet from my phone cellular network then ...
1
vote
1answer
51 views

Question about DHCP and DNS

In Week 6's lecture, Prof. Malan was talking about how firewalls were being implemented and there was this line he said that I can't quite get. all of us here today on campus are using Yale's DNS ...
0
votes
1answer
36 views

Help on taking CS50x course

I'm currently on week 2 of the CS50x on the edX platform. After submiting my source-codes from week 1 I've realized that some of the concepts of the prior week were explained on the lecture of week 2. ...
0
votes
3answers
737 views

'\0' vs '0' : What's the difference?

2016 version Lecture Week 2 continued... What's the difference between \0 and 0? I have watched the lectures, but it didn't help. Thanks in advance!
1
vote
2answers
182 views

2016 New CS50 - Do I need to rewatch lectures?

Should the lectures and videos be the same? Like should the contents of the 2015 Lecture Week 2 (1st one) be the same as the 2016 Lecture Week 2 continuted? I hope I don't have to rewatch all of them!
1
vote
2answers
323 views

Floating Point Imprecision

In Week 2 Lecture (the first one), Mr. Malan says a reason for floating - point imprecision (40:00). I don't get his reason. Sorry for the bad question, but please explain... Thanks in advance.
0
votes
0answers
14 views

Lecture 2: Why no 'return' on PrintName program at end?

In lecture 2, at about 18:59, why doesn't Mr. Malan write 'return' at the end of the PrintName definition? Is it because for the cube and the pos. int. there is a variable but in PrintName there is ...
1
vote
1answer
475 views

When do the CS50 lectures get updated?

Ok i could not find a straight answer, so well got to ask. So cs50x is recorded lectures from Harvard's cs50 fall class, as far as I understand. So as of right now the cs50x lectures would be fall ...
0
votes
0answers
45 views

Why is -ls stdio.h not used?

During the Week 1 lecture continued at approximately 31 mins in the instructor talks about telling clang to link cs50 into his program. I was wondering why you don't need to tell clang to link in to ...
0
votes
2answers
177 views

Where can I watch the video lectures of cs50 2015?

The cs50 lectures stated in January 2015. Where can I access the videos? YouTube and iTunes U only have the 2014 edition.
0
votes
2answers
36 views

Week 5 Lecture 1 @ 41:05

I have a concept question to ask regarding Week 5 Lecture 1 @ around 41:05. the professor was mentioning that x[10] in the f() is actually touching bytes that x doesn't own. But how is it possible ...
0
votes
1answer
149 views

Class Notes referenced in lecture week 5

Where can I find the course notes referenced in lecture week 5 written by Cheng Gong? (Scott McEachron, sdmce@comcast.net) Thank you.
0
votes
1answer
343 views

Week 8 Source Code

I don't see any links under either of the Week 8 lectures to download the php source code referred to in the lecture. What am I missing?
0
votes
2answers
615 views

Do we need to return 0 in C?

I found a lot of C tutorials on the internet ending their main functions with return 0;, but I don't see David doing that. Can anyone explain to me please? I've only finished watching Week 1 lectures ...
0
votes
2answers
65 views

If course has started why are there no new lectures? [closed]

The 2015 version of the course supposedly started on Jan 1 but the only video available is a welcome video posted 2 weeks ago. The 2014 lectures are available to view but so far the course appears ...
0
votes
1answer
97 views

Different lectures on edx.org and cs50.harvard.edu?

Why are the lectures on www.edx.org different from the lectures on cs50.harvard.edu? Which should I should take?
2
votes
3answers
520 views

Pseudocode example for counting people in the room

In the week0 lecture David gives the following as an example of pseudocode: let N=0, for each person in room, set N=N+1 He said this gets the value of 0 which proves that the algorithm is true. ...
2
votes
1answer
97 views

How to report a mistake in a video lecture or other course content [closed]

In the lecture video for Week 1 (2013) at 33:08, David says that Ctrl + S clears the screen but that doesn't work for me; Ctrl + L does. Where can I report errors in the lectures or other course ...
0
votes
1answer
23 views

Why “the eight such byte” would be bracket four in printf(“%c”, s[4]) ? -lecture 2

In lecture 2 (49'09''), speaking about s[i] (like in printf("%c", s[i]) ), David says: "So if you want to get at the eighth such byte, which in this loop would be bracket zero, bracket one, bracket ...
2
votes
2answers
503 views

What programmable lightbulbs are used on the CS50 stage demos?

So the first two lectures for Fall 2014 so far have shown some very cool demos with programmable light bulbs. Does anyone know what make and model these are, or better yet, where they might be ...
1
vote
2answers
62 views

Will the latest (upcoming) lectures still apply to the problem sets currently available on edX?

I am waiting for the Fall 2014 course to start at Harvard and planning/hoping to watch the latest lectures as they are released, to pursue my verified certificate via edX. My question is, will the ...
1
vote
1answer
75 views

Week 7 Wednesday lecture list-0.c

In Week 7's Wednesday lecture, Prof. Malan went over the program list-0.c. I don't get why the while loop in search() can execute. The node* ptr was first set to point at whatever the node* first is ...
0
votes
2answers
165 views

Cant list files in chrome when I enter localhost

When I try to list my files in chrome as david did in week 9 lecture, I get this error message: Forbidden You don't have permission to access / on this server. I entered http://localhost and ...
1
vote
3answers
3k views

Torrent for all the lectures?

I see links to torrent downloads for all the individual lectures - is there a torrent of all the lectures in one file available?
3
votes
1answer
185 views

Is the course really self-paced?

I don't understand why the course is divided into Week 1, Week 2, etc. Since the moment I started the course, is there a deadline for completing the assignments and watching the lectures?