Questions tagged [cs50x2019]

The tag has no usage guidance.

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

i m getting segmentation fault in my code for cs50 caesar

#include <stdio.h> #include <cs50.h> #include <stdlib.h> #include <ctype.h> #include <string.h> int main(int argc, string argv[]) { //getting correct input for KEY ...
0
votes
1answer
56 views

2019-2020 Progression bar red beside finished

I've start the CS50 late 2019 and finish it last week. I'm in this case: "If you submitted Problem Sets 0 – 4 last year, resume your studies with Problem Set 3 in Week 3 then skip to Week 6 and ...
0
votes
1answer
78 views

I don't think that I will be able to finish CS50 before the end of the year. Will I be able to continue the course next year?

I tried asking this on Quora, but it was never answered. Figured I'd try my luck here.
3
votes
1answer
57 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 ...
0
votes
2answers
305 views

CS50 Finance Check/Register Issues

I keep getting the same errors. I'm pretty sure the reason most my code won't work is because of my check function. I don't if it's not communicating well with my register function (which I am ...
0
votes
1answer
42 views

having problem in check() in cs 50 finance

The problem is i dont know why my script code is not not executing,it registers already registered users below is my register.html {% extends "layout.html" %} {% block title %} Register {% ...
0
votes
1answer
465 views

unused variable error when trying to create separate table for each user's transactions in finance problem

here is my code 215 db.execute("CREATE TABLE ':username' [finance.db]('symbol' varchar(16),'price' float, 'shares' int,'transaction_date' date , 'transaction_time' time" ,...
0
votes
1answer
322 views

survey : ValueError: too many values to unpack (expected 4) in template sheet.html

problem is when i run the application creating csv out of form.html and later try to represent that in a table in sheet.html after opening the list i made out of reading csv file , and try to access ...
0
votes
1answer
365 views

CS50 Recover compiles, but doesn't compile on check50?

on the 2019 pset 3 on CS50, my code for "Recover" is working and compiling, but when I go to check50, it fails to compile. Picture of code: https://pastebin.com/rCALvDjq Picture of error messages: ...
0
votes
1answer
21 views

Still having issues with Vigenere pset 2 problem 2

After, trying to add 1 to j, so I can only encrypt characters and not non alphas I am still having issues. Really getting stuck on this and have outsourced a lot online from what other people have ...
0
votes
1answer
23 views

Output issue with pset 2 Vigenere

I am currently having an issue with returning the right values for anything that is non alphabetic. For instance, if input I "bacon" as my key and type in "Meet me" as my plain text. My code comes out ...
2
votes
0answers
446 views

OSError: [Errno 99] Cannot assign requested address in pset7 2019

I am trying to send email via my server to the persons who have done their registration. Their information is getting stored in database( csv file) but when I click on submit button, nothing loads and ...
0
votes
0answers
99 views

Pset1 mario only executing do-while loop

So i've spent way too much time on this. Didnt expect it to be so difficult. I think i got the coding right but for some reason the program is only executing till the do-while loop and then it exits ...
0
votes
1answer
147 views

pset7 survey - for loop to give alerts not working properly, why not?

I can't figure out what's wrong with my for loop, written in Javascript. It isn't functioning as needed. 1- It only sometimes gives the javascript alert message saying "Please make sure you have ...
1
vote
2answers
103 views

I don't know why check50 HATES ME?! mario.more

Here's my code for mario.more. [removed solution code] When i execute this code, it performs exactly how it should look according to Walkthrough: But when I run check50, the terminal goes like ...
0
votes
3answers
662 views

I am ABSOLUTELY STUCK! (mario less)

Ok, I have tried and have gotten a 60%. I need at least a 70% to pass. Please. Help. Me. Please. Tell. Me. What. Do. I. Do. I am done cash and now I'm stuck on this! Here is my code: #include <...
0
votes
1answer
84 views

It doesn't work?!!! (Mario less)

Ok so this is my code: #include <cs50.h> #include <stdio.h> int main(void) { int n; do { n = get_int("Height: "); } while (n <= 0 || n > 23); for (int i = 0; i <= n; i++) ...
0
votes
1answer
45 views

Help please with code Mario error

#include <stdio.h> #include <cs50.h> int main(void) { int pyramid_height = 0; do { printf("Height:"); pyramid_height = GetInt(); if (pyramid_height == 1)...
0
votes
1answer
95 views

I need help with cash - again

Ok so this is my improved code: #include <stdio.h> #include <cs50.h> #include <math.h> int main (void) { float c; int a, n=0; do { c = get_float("Change: "); } while (...
0
votes
1answer
96 views

I need help. (pset 1 - cash) I don't get this!

So this is the code I have now: #include <stdio.h> #include <cs50.h> #include <math.h> int main (void) { float c; int i; do { c = get_float("Change: "); } while (c <...
0
votes
1answer
422 views

How to print out hashes in mario(less comfortable)? (2019)

Ok so this is my code I have right now: #include <cs50.h> #include <stdio.h> int get_positive_int(string prompt); int main(void) { int i = get_positive_int("Height: "); for (i = 0; i < ...
0
votes
1answer
225 views

pset6 bleep: Problem with difference between list and string

I assume that I have the following problem: I create a list for the banned words and although a list with the text input. Then I want to compare both list. But when I create the list of the user ...
0
votes
1answer
36 views

"check" function in pset4, problem with hashtable and pointers

I'm getting an pesky error when trying to compile my code. error: use of undeclared identifier 'hashtable' first = hashtable[i]; My code, per below, is an attemp to implement the check function ...
0
votes
1answer
22 views

Adding a code block to perform operations on float

I am currently on PSET 1 Cash and have my program asking for the amount of change required, not accepting negative values and now I want to add a code block to start performing the operations on my ...
0
votes
1answer
390 views

Speller 2019: dictionary could not be unloaded and the program identifies misspelled words wrongly

my code does not work so well because it could not unload the dictionary/large eventhough there are no leaks in memory. My programm does also identify the misspelled words wrongly. Just comment if ...
1
vote
2answers
1k views

Problems with check50 for pset2 caesar 2019

Hello! I have two questions that I hope someone can help out with! Q1) I just finished writing my solution for pset2-Caesar in CS50 Lab- When I try to check it with check50 I get an error message as ...
5
votes
3answers
4k views

CS50 Finance/pset8 2019 /check

I am trying to write the script for a form such that if a username is taken, the user is alerted that it is taken, and submission of the form is blocked. If the username then types in the correct ...
2
votes
2answers
3k views

pset6 python bleep

i have this failed test when i use check50 in pset6 bleep :( handles banned words lists with arbitrary words in them Log running python bleep.py banned2.txt... sending input My cat and dog ...
1
vote
1answer
2k views

CS50 Finance 2019 /check subproblem

In the 2019 edition of CS50 Finance there is a final subproblem where you have to use AJAX to ask the server if a username a new user is trying to register with is already taken, and then alert the ...
1
vote
1answer
315 views

Problem Set 3 (Resize) Help

I have been working for a while now, and I have a few questions regarding the Resize problem set. My code makes sense to me intuitively, but I am sure I went wrong somewhere, as my output is clearly ...
0
votes
1answer
98 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?
0
votes
1answer
18 views

Pointers to pointers within structures

I am trying to alter a pointer member (cI of a) within a structure (custInt) via another pointer (b). I am not sure why a is not changing despite the fact that b was set equal to a. Do a and b not ...
0
votes
1answer
709 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 ...