Skip to main content

Questions tagged [help]

The tag has no usage guidance.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
52 views

CS50 recover (fclose giving segmentation fault)

found a few answers to the segmentation fault issue in CS50 recover while closing the file but I couldn't translate the answers to my issue: The last part: fclose(f); fclose(img); is resulting into ...
perkuche's user avatar
0 votes
0 answers
5 views

What to do with CS50 codespace after finishing?

I just finished CS50p, I haven't enrolled in the course, but have just been following the course via the website/youtube solving all the problem sets etc. Now I would like to tackle some of my own '...
user42925's user avatar
0 votes
0 answers
37 views

CS50 PSET4 Recover. Files created, images visible, why check50 fail?

Why isn't check50 clearing even though the files are created and the images are visible? #include <stdint.h> #include <stdio.h> #include <stdlib.h> typedef uint8_t BYTE; typedef ...
Don Tan's user avatar
0 votes
1 answer
50 views

CS50 Mario Less - Check50 Error

I recently started taking the CS50 class at Harvard, and I'll admit that I feel like I have hardly a clue at what I'm doing. It was a huge jump from the Week 0 to doing this. I'm halfway there to ...
Newbie_Coding's user avatar
0 votes
1 answer
13 views

My friend uninstalled few things and now her VSC environment does not work

Comparing with mine, Few of her extensions are missing including CS50, CS50 phpLiteAdmin. All of the ports have not populate in the beginning She has error message when using update50, check50, or ...
Sado Kim's user avatar
0 votes
1 answer
611 views

Cs50 IDE text is white no highlighted code Text editor not displaying color coded text Please help

I opened CS50 IDE hoping to work on a problem set and all the code I write is plain white text. No colors or highlighted code. It's just dead plain text.... Any suggestions?
Nicholas Dalman's user avatar
0 votes
1 answer
3k views

Fiftyville - please help!

I am quite sure about my answers... but still, check50 doesn't approve my answers... can you please tell me whether my answers are indeed wrong to start thinking about it again cause in my mind I am ...
Danae Philioti's user avatar
0 votes
1 answer
278 views

[Week 2 Substitution.Why does my code fail the checks even if the output is correct?

Here is my code. Apologies if it is hard to understand / messy. When I check50 it shows this. I have a brief idea on how to solve the invalid characters in key but I don't mind some help on that too. ...
anahop's user avatar
  • 1
0 votes
1 answer
224 views

My DNA code works with the small database but not the large one

My code works perfectly fine with the small database but gives "No Match" for the large one and I can't figure out why. Any help would be appreciated! import csv from sys import argv, exit def main()...
Suhas Thalanki's user avatar
0 votes
1 answer
48 views

PSET 2 IDE Compiling Issues

I am now on PSET 2 and moved to the CS50 IDE, however, when trying to set up and test the IDE by writing and compiling a simple piece of code under the title readability, i get the below error. I ...
NicoEF123's user avatar
0 votes
0 answers
43 views

Help on Pset5 Speller

bool load(const char *dictionary) { // Open dictionary FILE *dict = fopen(dictionary, "r"); if (dict == NULL) { printf("Could not read.\n"); return false; } ...
l3hargav's user avatar
0 votes
1 answer
69 views

Help in PSET1: Credit. Check50 not showing up

I finished (what I think) is a correct version of credit and when I submit, I only see marks for style and no check50 on the submit50 page. Also, when I do check50 in the terminal window, I get a "...
Suhas Thalanki's user avatar
0 votes
1 answer
41 views

PSET4 Resize Only works for half an image

So I thought I finished but the image only half way is written. Not sure what I did wrong but the image scales but only the top half. I tried both ways I could think of for the loop but decided using ...
Ryan's user avatar
  • 11
0 votes
1 answer
36 views

Help needed for pointers in C

I need a bit of help for my following program which inputs a string from the user and also prompts from the user a character from that string so as to display the number of times that character is ...
sk.76's user avatar
  • 312
0 votes
0 answers
288 views

CS50 pset7 application.py buy - problem: won't insert information into new table

I've tried this a bunch of different ways and I can't get it to work. Everything seems to work. The total price of the bought shares gets subtracted from the users table, but I can't get it to ...
RodrigoMolinaR's user avatar
0 votes
1 answer
420 views

pset1 Mario Help?

So I understand the bases of the project, what I'm suppose to do etc, but when I prompt the user I get a bug, it also loops forever when I enter a negative integer is that normal? The do and while ...
Alice's user avatar
  • 1
0 votes
1 answer
92 views

PSET3 helpers.c

:( finds 42 in {42,40,39,41} \ expected an exit code of 0, not 1 What can I make out of this error message. Here's my code for binary search,selection sort:
sk.76's user avatar
  • 312
0 votes
1 answer
236 views

How do I make comments in generate.c program in PSET3?

In the "understanding" section of find/PSET3 in CS50 2017 how do I open the file generate.c so that I can make (TODO) comments in that. I have ran all the commands for "downloading" section which ...
sk.76's user avatar
  • 312
0 votes
1 answer
55 views

Segmentation fault in initials.c pset2 cs50 2017

The following is my code for pset2 initials 2017 and I got a segmentation error. Can someone plse help me debug this. Now here's the output : Hello what's your name? ansh parashar ...
sk.76's user avatar
  • 312
0 votes
2 answers
116 views

Help with pset3 runoff

is this correct for vote function..struggled to figure out how to access candidate index so not sure if this is correct..any help/advice would be greatly appreciated bool vote(int voter, int rank, ...
Ak500's user avatar
  • 1
0 votes
1 answer
470 views

Recover cs50 Please help!

Can somebody please help with this question? ... and also I tried to debug and apparently it doesn't run my while loop and i don't understand why. while (fread(buffer, 512, 1, fraw) == 1) so ...
Bryan Tay's user avatar