Questions tagged [cs50x2018]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Why CS50 2019 excluded MashUp problem set?

everyone I have noticed that staff solution for MashUp problem set is not working correctly , displaying same articles for any location in USA and having waterMark ( "for development purposes only")....
Hyke's user avatar
  • 1
3 votes
1 answer
62 views

Enrolled in 2018, upgraded for certificate in 2019, can I still get the CS50x certificate in 2020?

I first signed for CS50x in 2018, watched the first few lectures and then stopped. I never submitted any problem set back then. This year, I signed up again and this time upgraded for a verified ...
Cris Gonzalez's user avatar
0 votes
1 answer
184 views

CS50 pset1 problems

I have started CS50 and I'm trying to complete my pset1. I have the following: ~/pset1/hello/ $ ls hello* hello.c ~/pset1/hello/ $ ./hello hello, world ~/pset1/hello/ $ check50 cs50/2018/x/hello ...
Ada's user avatar
  • 35
0 votes
1 answer
102 views

continue from 2018 to 2019

I had submitted problem Sets 0 – 7 last year, except problem set 4 (0-3) (5-7), problem set 8 and the final project. what should I do?
Magdi Mohammed's user avatar
0 votes
1 answer
712 views

Confused on where to start after 2018 - 2019 switch

When I logged into edX after January 1st, I saw a different course main page than what I was used to. Prior to 2019, I had finished all of week 0, week 1, and week 1 continued. That means I finished ...
AJ72311's user avatar
  • 17
0 votes
0 answers
25 views

Valgrind throws a memory error and I think it's not okay with mouse set to NULL. I don't know how to fix it. Please help

bool unload(void) { node *cursor = NULL; node *temp = NULL; for(int i = 0; i < 26; i++) { cursor = hash_table[i]; ...
Sunil Skanda's user avatar
0 votes
2 answers
93 views

Problem with credit.c concerning if loops with multiple initial conditions

I am working on the credit.c code. I am trying to make sure that the number of digits and the first digits of each credit card number value that is entered correspond with the brand that credit card ...
user avatar
0 votes
1 answer
228 views

Load part problem in speller.c CS50 2018 using trie

I am working on "speller.c", and I think I understand the basic concept of trie data structure. But I can barely translate my idea into C language. So here is what I coded with my understanding of ...
方威智's user avatar
0 votes
1 answer
127 views

Pset4 Recover issues

I am having a number of problems with recover in pset4. First, my program is not finding a beginning of a jpeg. But, to test that, I have to first compile it, and I cannot because for some reason on ...
Sina's user avatar
  • 1
0 votes
1 answer
70 views

Segmentation fault in pset5/speller while linking newNode with the linked list

I have been trying to resolve errors in my speller "load function". I have been able to resolve a couple of them except this one. Debug50 reveals that while creating a link between new Node and the ...
Raffay's user avatar
  • 3
0 votes
0 answers
188 views

pset8 mashup How To Work With The JSON Object?

As the title says, I'm having troubles about how to work with the returned data from the /articles route. My question is about accessing key->value pairs of the JSON Object. When I manually search ...
Dement0's user avatar
  • 13
0 votes
1 answer
243 views

Pset8 - Google Maps API - RefererNotAllowedMapError

I am re-posting this question as really want to complete this pset and cant find a solution. Have managed most of the problem set without a working map but now need to test markers. After running ...
PaleFire's user avatar
1 vote
1 answer
52 views

codereview or cs50?

The CS50 online grading system only checks correctness and style, So I have no idea whether my code has good design or not. I want my design to be reviewed so I can make sure it's not bad or silly. ...
Parnes's user avatar
  • 13
0 votes
1 answer
2k views

CS50 finance: Sell function.(Dropdown list of user shares NOT displayed via sell.html)

Purpose of Sell: to make sure the shares bought can be sold by selecting it through a dropdown list displaying symbols of share bought. I am trying to replicate the cs50 finance default page. I have ...
Aakash's user avatar
  • 23
3 votes
1 answer
33 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?
user9716225's user avatar
0 votes
1 answer
114 views

PSet4 recover: recovered files start with a wrong sequence

My recover program creates 50 files, but they do not open (it says "Invalid or Unsupported Image Format"). I opened some of the JPEGs with a hexadecimal editor and found out that they start with 00 d8 ...
Leonidius's user avatar
2 votes
1 answer
2k views

CS50 Finance (pset7) - register function is not working for application.py in the latest CS50 question

In the latest CS50 - pset7 - CS50 Finance, it is advised to use generate_password_hash instead of pwd_context.encrypt. Also, in the template, there is a change where instead of url_for('register'), /...
Aakash's user avatar
  • 23
0 votes
1 answer
199 views

Pset8 - mashup (2018 or 2017): Downloading distribution code does not include txt files

I'm having some issues with downloading the distribution code for Pset8 (mashup). I am getting everything except US.txt and readme.txt. I do get the other text file, requirements.txt. Is anyone ...
brand n00bian's user avatar
0 votes
4 answers
6k 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) { ...
user21120's user avatar
0 votes
1 answer
6k views

what does "invalid conversion specifier mean" ?

include include int mult_two_ints (int a , int b); int main(void) { printf("Choose an integer: "); int x = get_int( ); printf("Choose another integer: "); ...
Aina Hazel's user avatar
0 votes
2 answers
1k views

Cs 50 - 2018- Pset03 Music

Please help me in debugging this code for Pset03 Music, no errors but the output of frequency function is same for all notes. I was unable to get the mistake https://pastebin.com/qNNAQYiQ
Asrst's user avatar
  • 1