Questions tagged [cs]

The tag has no usage guidance.

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

When declaring an array of pointers that will be a hash table, do you have to set all the elements of the array to NULL?

In the distribution code for Speller in pset5, they include this line in dictionary.c // Hash table node *table[N]; Should I set every element in the array to NULL, because they are pointers? (the ...
0
votes
1answer
39 views

Why table is not inserting here in buy route

Hello Folks! I am working on paset8, why table is not inserting into buy route
0
votes
1answer
4k views

2019 CS50 PSet 4 Filter Less

https://cs50.harvard.edu/college/psets/4/filter/less/ I'm so lost I don't really know where to begin. The last exercise plurality with the distributive code was a nightmare, I only found one other ...
0
votes
1answer
796 views

CS50 Pset1 credit

after 2 days and half i did it it's tricky at first but this problem made me understand loops and array much deeper , the question is my code is good as style and design ? any ideas should consider ...
0
votes
1answer
113 views

pset4/recover, 50 empty images

really tried to debug the code myself, but i really don't know what is it not working, i'm getting all 50 images, but the are all empty white images #include <stdio.h> #include <cs50.h> #...
0
votes
1answer
102 views

Images are not producing

This is my code. It is compiling and executing but not producing any images
0
votes
1answer
2k views

What does the 50 in CS50 mean?

I hope this isn't too off-topic, but I've seen a bunch of different CSXX (XX being some number) courses being mentioned now and I can't figure out what the different numbers mean. As far as I know ...