Unanswered Questions

3,027 questions with no upvoted or accepted answers
6
votes
2answers
822 views

Do YOU know how to find a seg fault?? Advice to new programmers

I have noticed a rash of questions lately that are essentially this: "My code has a segmentation fault. The code compiles, many tests pass, but I can't figure out the problem!" If this is ...
4
votes
1answer
209 views

Functions returning a value?

I'm trying to implement multi-dimensional arrays in Scratch, for an implementation of maze generation. To simplify, I'd like to implement a couple of custom blocks which return a value, e.g. ...
3
votes
0answers
1k views

How to call the usd function in the jinja template of quoted.html?

I want to display the cost of the share in Quote tab using the "usd" function defined in helpers.py. I've tried adding app.jinja_env.globals.update(usd=usd)in application.py and then calling the ...
3
votes
1answer
63 views

Google Earth frame is displayed in front of javascript alerts

When I click start engine in the right rail of the application, an alert is displayed behind the Google Earth frame of the Harvard Yard. I cannot click on any items that are displayed on this alert, ...
2
votes
1answer
31 views

What is the usage of creating DICTIONARY_H in pset5?

I cann't understand when to use the preprocessor directives as (ifndef, define ,etc.)? In dictionary.h, what is the importance of writing those statements? and regarding the reason that was mentioned ...
2
votes
0answers
51 views

Students only passing 4/6 the last two showing concatnation error but works locally somebody help

[33mTraceback (most recent call last):[0m [33mFile "roster.py", line 34, in main()[0m [33mFile "roster.py", line 27, in main print(row[0] + " " + row[1]+" "+ ...
2
votes
2answers
1k views

Unable to pip install submit50

Following CS50 Game development. Trying to submit my assignment, i have python 3.8 installed. while pip installing, I received following error message: ("submit50 does not support Windows directly. ...
2
votes
2answers
94 views

2019 PSET4 SPELLER, I have no clue why it isn't working, I'm sure size and unload function is right, but unsure about load and check

// Implements a dictionary's functionality #include <ctype.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #...
2
votes
0answers
205 views

View README.md in CS50 IDE?

I've created my README.md file for my final project. I'd like to check how it looks before submitting. How can I "preview" markup files in the CS50 IDE?
2
votes
0answers
442 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 ...
2
votes
1answer
271 views

CS50 2019 PSET8 updating API from 2017 API

I have a lot of work from finance 2017, but it seems to use a different API than what I used last year. How do I update my code to use this new API? Or can I just use the one from last year? (I don't ...
2
votes
2answers
397 views

Compiler Can't locate CS50 library locally

I'm trying to work on my C psets on my local machine in vscode. I've installed the cs50 library locally but am having trouble compiling. OS is osx 10.14.3 The error I'm receiving when compiling with ...
2
votes
1answer
87 views

Problem with running docker toolbox on windows

Please I need help. I've been searching all over the net and topics on how to run IDE offline on my windows 10, I've downloaded it but when I run it following the several instructions, I keep getting ...
2
votes
1answer
85 views

Why do cs50/2018/x/speller, cs50/2018/x/mashup show looks good but give 4 / 5 for style?

I have run update50 and I'm still not seeing any style errors but I'm still getting 95% and 4/5 for style?
2
votes
1answer
490 views

CS50's Web Programming with Python and JavaScript on edx project submission

On the following course on edx: CS50's Mobile App Development with React Native CS50's Web Programming with Python and JavaScript I have been trying to submit the project work but it is "Coming Soon!" ...

15 30 50 per page
1
2 3 4 5
202