Questions tagged [cs50-ide]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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]'
0
votes
2answers
249 views

pset7 which files to alter to run the pset on a local machine, not on cs50.io: You don't have permission to access

My system: Mac OS 10.11.6 Server version: Apache/2.4.18 (Unix) Server built: Feb 20 2016 20:03:19 Server version: 5.7.13 MySQL Community Server (GPL) PHP Version 5.5.36 I am trying to test the ...
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: ...
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 ...
2
votes
1answer
293 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 ...
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
1answer
24 views

Can't figure out why check50 sad faced these two

Edit2: Latest code (working) int main (int argc, string argv[]) { // Checking for proper command line input if (argc != 2) { printf("Usage: ./substituion key\n"); ...
0
votes
2answers
419 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
17 views

Plurality CS50 Week3 pset3

// Print the winner (or winners) of the election void print_winner(void) { int max =0; for(int i=0; i<candidate_count; i++) { if(candidates[i].votes>candidates[i+1].votes) { max=candidates[i]....
0
votes
0answers
21 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
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
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 ...
1
vote
1answer
1k views
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
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
1answer
11 views

pset4 CS50 IDE broken when opened card.raw

While I was working on pset4/recover I couldn't make it work as desired, so I wanted to check the first few bytes of card.raw manually. I double-clicked the file and now my cs50 IDE never loads and ...
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..?
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 ...
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
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
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
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
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
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
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
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
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
58 views

cs50 pset2 Caesar - Help doesn't compile

#include <cs50.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <stdlib.h> int main(int argc, string argv[]) { // check for correct arguments ...
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
34 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
413 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
112 views

Struggling with Vigenere! (In C) invalid operands to binary expression ('int *' and 'int') and other things

we are now working with caesar, vigenere. I mannaged to finish caesar but vigenere is not working as good. C gives me back: invalid operands to binary expression ('int *' and 'int'). I'm not sure what ...
0
votes
1answer
20 views

My code gives error RuntimeError: no such table: File_Name

This is simplified version of my code from cs50 import SQL open("File_Name", "w").close() db = SQL("sqlite:///File_Name") id = 2 filename="hola" db.execute(&...
0
votes
1answer
67 views

cs50 ide problem it did not open

what is this problem how can I solved it
1
vote
1answer
17 views

Mario problem: Program got stuck at user input

// ** Below is the code of mario pset1, its taking input of width multiple times and not executing step after input// #include <cs50.h> #include <stdio.h> #include <math.h> int main(...
0
votes
1answer
84 views

CS50 Pset3 "Fifteen" Works but doesn't pass Check50

My code for pset3 "fifteen" works perfectly when I play it—board sizes fit, goes in descending order, blank space prints as a 0 etc. etc. but for some reason, it won't pass any check50 checks past "...
0
votes
1answer
216 views

vigenere python help

https://pastebin.com/DHEbSYWV help i have been stuck for the last couple of day but i feel like i am really close just need the push in the right direction. mainly for the this question. how do i go ...
0
votes
1answer
12 views

CS50 ide. Not being being able to compile program

Whenever i try to compile the program in the cs50 ide this error shows up- make: *** No rule to make target 'string'. Stop. Can someone please help me out. Thanks!
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 -...
2
votes
4answers
9k views

cs50 pset3 runoff tabulate

i have completed the problem set however when i check, this is the only problem. :) tabulate counts votes when all candidates remain in election :) tabulate counts votes when one candidate is ...
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
2answers
2k views

C++ at CS50 ide

While trying to compile c++ files at CS50 ide it seemed to be not supported by clang .. is there a specific way to fix that or it's not supported at all ? Thanks in advance
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 &...
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
1answer
30 views

'stadio.h' file not found

#include <stadio.h> int main(void) { printf("hello, world"); } when i type make hello clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-...
0
votes
1answer
145 views

Problem with Pset2

Please help me with this program i have compile it hundred times and run check50 and submit50 command but it keeps on saying this and also submission cancel do you mean to submit something please ...
0
votes
1answer
33 views

I'm on pset9 right now and I'm running check50 on my code and getting :( logging in as registered user succeeds expected status code 200, but got 403

I've tried everything that I thought could be the problem but nothing is working. I registered and tried logging in but I keep getting '403 Invalid username and/or password' error This is my login ...
0
votes
1answer
682 views

CS50x ide offline

I'm trying to use the new IDE for CS50x, but i can't change the username in the terminal prompt. So I get this: jharvard@ide50-offline:~/workspace $ How can i change it to username@ide50-offline ?...
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 ...
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 ...

1
2 3 4 5