Questions tagged [cs50-ide]

The tag has no usage guidance.

69 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
220 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
1answer
91 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
199 views

CS50.io - python 3.6 breaks submit50

I just ran update50 before trying to submit my final project but after doing that and trying to run submit50 the new version of python seems to have broken from what I have seen researching the error ...
2
votes
1answer
294 views

I receive "Not authorized to access this private project" page when trying to get to CS50 Finance page in pset7

I think something is incorrect with my permissions when I'm trying to set up my pset7 materials per the spec. I've followed the spec exactly. I used username50 and password50 to put my username and ...
2
votes
1answer
130 views

Problem with the cs50 ofline ide text editor

the cs50 offline ide shows some loading window with the scratch pieces at left panel when trying to save a C file and keeps on loading. i had restarted my laptop and again reopened the ide in google ...
2
votes
5answers
2k views

How can I get the cs50.h to run in Visual Studio Code?

I downloaded both the cs50.c and cs50.h files from GitHub and put them in the folder where all the header files are. VSC even recognizes the #include <cs50.h> in the code but I get the error in ...
1
vote
0answers
31 views

I can't submit lab1 on CS50 2021

I can't submit my lab, I generated the code from Github, but the terminal keeps telling me that "Submission cancelled. You might be using your GitHub password to log in, but that's no longer ...
1
vote
0answers
25 views

HTTP Server not working

When running "http-server" in the IDE and attempting to open the link I am given the message "Safari can't find the server." I checked the CS50x status log and everything seems to ...
1
vote
1answer
157 views

What's the next step to setup cs50 ide offline?

i have installed docker and installed ide50 when i run ide50 start it shows this: 8082/tcp -> 0.0.0.0:8082 1337/tcp -> 0.0.0.0:1337 8080/tcp -> 0.0.0.0:8080 8081/tcp -> 0.0.0.0:8081 ...
1
vote
0answers
17 views

Why doesn't IDE50 highlight the "IN" keyword in SQL?

Highlighting works well with all other keywords I tried, this is confusing to people who might think (like me, originally) that the keyword is wrong/inexistent...
1
vote
0answers
76 views

smtplib.SMTP not working in IDE but works locally

Code: import smtplib server = smtplib.SMTP('smtp.gmail.com:587') It works with my local python setup but ide shows following error: File "/home/ubuntu/project/application.py", line 38, in contact ...
1
vote
1answer
1k views

clang-7: error: linker command failed with exit code 1 (use -v to see invocation)

Can some one please explain why am I getting this error?
1
vote
0answers
40 views

Getting Full C9 Menus

Last year the View menu had a Less Comfortable checkbox. Unchecking it allowed you to access all of the regular C9 menus. The checkbox has been removed with one of the recent updates. Is there a way ...
1
vote
1answer
423 views

Pset7: from cs50 import SQL - 'No name SQL in module CS50'

Getting the above error at the head of my pset7 programme in the cs50 ide. Any advice? I've tried updating cs50 a couple times. edit: Also CS50 IDE is displaying an error: 'Error: [object Object]'
1
vote
1answer
321 views

CS50 IDE Debugger stops after having executed the code line at breakpoint

The debugger itself seems to work fine, but my problem is : When I set a breakpoint in the gutter and then I properly run the debugger, the code stop at my breakpoint, but it doesn't stop before ...
1
vote
2answers
2k views

Can't Type in Terminal

http://i.imgur.com/l1jnKfw.png This is what my terminal looks like. When I type nothing comes up. Enter and ctrl C do nothing. I've tried restarting my pc, changing browser, and rebooting the ...
1
vote
0answers
339 views

CS50 IDE give "no such file or directory" even when filepath is correct

When I trying to run my import file from pset8 from the command-line, I got the message "bash: ./import: No such file or directory". I double and triple checked that I was in the correct directory, ...
0
votes
0answers
4 views

I am having trouble with filter (more) edge detection: it returns a white image, i just can seem to find where i am going wrong

void edges(int height, int width, RGBTRIPLE image[height][width]) { int Gx_arr[3][3] = { {-1, 0, 1}, {-2,0,2},{-1,0,1}}; int Gy_arr[3][3] = { {-1, -2, -1}, {0, 0, 0}, {1, 2, 1}}; ...
0
votes
0answers
22 views

How do you check if a value is fractional? HEAR ME OUT FIRST

This is from cs50 finance: Text: :( buy handles fractional, negative, and non-numeric shares Cause application raised an exception (see the log for more details) Log sending POST request to /login ...
0
votes
0answers
11 views

CS50 Bot - resend invitation?

I have some students in CS50x that did not accept the invitation from CS50 Bot. This was more than 7 days ago, and so the link doesn't work any more. How do I get CS50 Bot to resend the email?
0
votes
0answers
11 views

Transitioning from CS50 IDE to VS Code

I recently finished with PSET9 and wanted to transition from CS50 IDE to VS Code for the Final Project. Problem is I don't know what exactly I need to setup to make it all work. I guessed that I just ...
0
votes
0answers
36 views

CS50 Week9 Finance I have an error in register

I'm struggling with register function in application.py since I am having error messages in check50 That says: :) register page has all required elements :( registering user succeeds expected ...
0
votes
1answer
15 views

Error when I try to use get_int

I have included cs50.h library, and I've ran the program after substituting a number in place of the get_int function and the program works completely fine, so something is wrong with using the ...
0
votes
0answers
22 views

Why do Escape Sequences in C work differently when I compile code by using GCC?

Why do Escape Sequences in C work differently when I compile code by using GCC? For example, Input: #include <stdio.h> int main(void){ printf("Hello world\n"); } Output in CS50 ...
0
votes
1answer
20 views

How does the CS50 IDE recognize C functions in advance?

I notice that functions like printf() and toupper() appear in blue without the relevant #include statements in files with names ending in .c. What is happening under the hood to make this happen?
0
votes
1answer
425 views

CS50 LAB 2- SCRABBLE

Hi, anyone can help me. I can't get the result I need for this code. I need to compare words whether player 1 or 2 wins. I only get result for tie. I dont know which line to fix. I new in learning ...
0
votes
1answer
10 views

error : function definition not allowed here pls help

i got this error message pls help $ make triangle clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow triangle.c -lcrypt -lcs50 -...
0
votes
0answers
73 views

Docker: How to start cs50 ide offline in terminal? (MacOS)

I use the command "ide50 start", but it always starts ide50:latest(online version), instead of the offline version. However, I can use the command "docker run -d -p 1337:1337 cs50/ide:...
0
votes
1answer
27 views

PSET 8 Finance ":( buy handles valid purchase exception raised in application: TypeError: 'method' object is not subscriptable"

I've been having a problem with CHECK50, I cant seem to find the right object to change. This is the log I get sending GET request to /signin sending POST request to /login sending POST request to /...
0
votes
1answer
68 views

How can I use debug50 when it says "Command not found" every time I try to run it?

I am using cs50 sandbox and have tried to use debug50 over the past few weeks with no luck; I keep googling, watching CS50 videos, not just Professor Malan's lectures, but also Professor Doug Lloyd's ...
0
votes
0answers
36 views

CS50 IDE HTML Preview not working

When I use the Preview function in the IDE to view my HTML file, I just get the text Cannot GET /_static/hello.html. Any ideas?
0
votes
0answers
19 views

check50 is rejecting me with pset1 cash (like she always does) it says 0.41 is coming back as 3 when they want 4. why?

ok so to me it sounds like a conditions issue. i'm going up to and not through a number or i'm not adding this one last penny when i should. i did this very differently than i've seen anyone do it but ...
0
votes
0answers
34 views

what is this "unhandled error" thats in red on my ide? how do i fix this "unhandled error"?

this is the error message. its not in my terminal. im not sure which file they are referring to. Could i have malloced memory and forgot to free it, or is one on my programs running? i had to act ...
0
votes
0answers
145 views

Running web applications (Django and/or Flask) on CS50 IDE

Hope you all are doing great. Had a quick question about the CS50 IDE and running web applications on it. One thing I noticed when running my web applications on CS50 IDE either by using "python ...
0
votes
1answer
17 views

Not able to access CS50 sandbox

I am not finding the link that directs me to CS50 sandbox. So, I am using the CS50 IDE. But when I am submitting the assignment in CS50 IDE the score is not getting updated. What should I do??
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
96 views

Pset1 Creating and Changing Directory Does Nothing

For the first problem set, I attempted to create and change the directory with the following commands: $ mkdir ~/pset1 $ cd ~/pset1 $ mkdir ~/pset1/hello $ cd ~/pset1/hello Despite doing these ...
0
votes
1answer
12 views

All sequel Queries getting Implemented, ignoring the conditional statements

In the function buy when I am purchasing some stock, every query that i have mentioned on different conditions are getting implemented, I am unable to guess as why It is happening. Here is my code: ...
0
votes
0answers
69 views

CS50 - Pairs Array Number format for tideman - Sort Pairs

TLDR Can someone please tell me what format check50 is looking for in the pairs array of the tideman assignment. Is is: the candidates sorted by their win the candidates padded in some way with ...
0
votes
1answer
89 views

FIlters (more) - Unable to crack Edge

Below is my code for Edges. Please help me by highlighting the errors. Thanks in advance. Errors I am getting are: :( edges correctly filters middle pixel expected "210 150 60\n", not &...
0
votes
1answer
43 views

CS50 IDE ONLINE not opening

for the last two months, I am using cs50 ide online for solving problem sets. currently, I can't able to open my cs50 ide. what I have to do now.? where to get a solution..?
0
votes
1answer
176 views

CS50 IDE - "This is taking longer than expected."

I am having most of the time problems accessing the CS50 IDE (sometimes it works). I am using chrome and after I log in with my github account, it is always stuck on the "cloud 9" window and giving ...
0
votes
1answer
67 views

cs50 ide problem it did not open

what is this problem how can I solved it
0
votes
0answers
66 views

How to create a new Workspace in AWS

I have migrated my legacy CS50 IDE from cs50.io but something does not seem to be set up correctly. Many of my old source code files no longer compile and I'm not clear on how to use the help50 or ...
0
votes
2answers
420 views

CS50 IDE now CS50 IDE Beta all files missing

After a couple of weeks break I've returned to finish Pset5 to find that the CS50 IDE is now CS50 IDE Beta and all of my files are missing. I now have only one folder in my root directory called 'lost+...
0
votes
1answer
2k views

CS50 Pset6: cash.py not returning number of coins used for change

Below is my code for pset6 of CS50, in which the user is prompted for an amount of change in the form of a float, which is converted into cents (e.g. 1.25->125), and the fewest coins needed to make ...
0
votes
1answer
34 views

Why does my CS50 IDE workspace info show a region of 'ae' on Cloud9 Dashboard (cs50.io/<user>)?

Why does my CS50 IDE workspace info show a region of 'ae' on Cloud9 Dashboard (cs50.io/)?
0
votes
1answer
34 views

Unable to run file CS50 mario less comfortable. errors while running program

]2 These are the codes and error screenshot which i receive while running programme which i have coded with help from different sources and with my understanding
0
votes
1answer
186 views

Pset6: No module named Numpy - check50

I imported numpy for the more comfortable version of the similarities excerise. I already pip install numpy in my IDE and the code work smoothly. However, when i run check50, it didnt work as it ...
0
votes
0answers
162 views

pset4 whodunit: where do I say whodunit

I finished whodunit and submitted my code but I was never asked whodunit. How do I answer the final question?