Questions tagged [program]

The tag has no usage guidance.

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

pset5 speller everything works but the program won't end

okay so i have done everything correctly in terms of getting the right results i get a correct number of misspelled words and the time is low enough. i just can't get the program to end. val grind ...
0
votes
0answers
48 views

Recover program: Can't produce the 50th jpg (049 jpg)

I've tried everything to get that last file, I even ran some printf statement test and the 4 indexes that show the start of a jpg are recognized 50 times in total but i'm still only able to produce 49 ...
0
votes
2answers
115 views

Help! CS50 Error message not making sense at all

I am in week 1 on CS50 2017, and in the lecture he presents a code written as follows: #include <cs50.h> #include <stdio.h> int main(void); { int n = 0; while (true) { ...
0
votes
1answer
70 views

Why this code doesn't work?

I just started learning programming couple of days ago, and I made this for fun but it doesn't work on if and else with string.. what should I fix? #include <stdio.h> #include <cs50.h> ...