Questions tagged [cs50-ide]

The tag has no usage guidance.

65 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
74 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
194 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
286 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
121 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
vote
1answer
25 views

How to make the pong programs in CS50 run using Visual Studio Code application? How do I compile the Lua code and run successfully?

I have Visual Studio Community as well as Visual Studio Code installed on my machine. I am operating under Windows 10. I do not see any directions on how to launch the various pong programs? Is it ...
1
vote
2answers
249 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
15 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
98 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?
1
vote
0answers
58 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
889 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
412 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
282 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
1k 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
293 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
12 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
0answers
14 views

Issue using Mingus package in CS50 project: /bin/sh: 1: lilypond: not found

I am trying to use the Lilypond module from the Mingus package (for my final project) in CS50 IDE, but while running the following python code (as provided in the docs), it returns an error: >>&...
0
votes
0answers
11 views

Parsing Error: Unexpected token in Javascript

For my final project I'm implementing a simple chrome extension in Javascript but I keep getting the error "Parsing Error: Unexpected Token :" However I copied this example code directly ...
0
votes
0answers
17 views

In pset2: why i am able to iterate through the for loop for just one ? and also the program is processing after looping once?

#include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string.h> int main(void) { string str= "Hello"; int l =strlen(str); string str2[l-1]; ...
0
votes
0answers
10 views

i am Unable to Generate the ssh-key ,and what does ssh-aget mean and how to generate one?

i am unable get through the process of the SSH-key creation,below is the terminal error i am getting related the ssh-key.hope you all there try to figure this tedious quest of mine... ~/pset1/hello/ $ ...
0
votes
1answer
12 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
25 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
103 views

PSET 6 DNA! Stuck for so long

so the problem I face is when computing the greatest number of STR's in a sequence. I was able to hardcode "GATA" and compute the greatest sequence for a textfile using my sequencecount ...
0
votes
1answer
37 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
0answers
106 views

cs50 pset6 DNA, minor differences in counting STRs |Spoiler entire code included|

My code counts STRs for some people correctly, but for others the difference is very small. For example for python dna.py databases/large.csv sequences/5.txt expected output is Luna, whose STR counts ...
0
votes
0answers
49 views

PSET 6 - credit, pythonic or not?

I didn't do credit for problem set 1 (I chose less comfortable) so I don't know what the C implementation was. I was wondering if you guys think this is too C-like or if it's okay for python code. Any ...
0
votes
1answer
11 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
15 views

I cannot start my IDE on Windows 8, due to some Cloud 9 issue on libevent and tmux

I have attached the screenshot of the same. How should I proceed? Step wise - https://imgur.com/OJvoJZa https://imgur.com/Rrb63Fy https://imgur.com/RsftNQk https://imgur.com/CBcC0Xw https://imgur.com/...
0
votes
0answers
19 views

cs50 IDE Week 1 submission

I have just finished week 1 and now i m trying to submit it, however I cant seem to do it. How do you submit week one (hello.c) on GitHub? I've looked on GitHub and on the Edx site, but still cant ...
0
votes
0answers
31 views

i cant access cs50 ide

This is taking longer than expected. If you think there might be an issue, contact AWS Support. POST /desktop/era Status Page AWS Cloud9 Installer Can we quickly set up AWS Cloud9 on your environment? ...
0
votes
0answers
60 views

Can you help me making my pset6's 'dna' more dynamic

I want suggestions on how to manage my so many lists in the loops. Hello helpful soul, I actually can't figure out how I can declare lists more dynamically, and thus using them in the loops easily. ...
0
votes
0answers
39 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
0answers
28 views

How to fix this? I can't use debug50 in python

This is the output when I use debug50 in phyton Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/...
0
votes
1answer
72 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
0answers
73 views

Pset4 , Filter (Reflect)

I am getting the following error in the reflect part of my filter and I am not sure what it means and how should i avoid it helpers.c:71:23: error: subscript of pointer to function type 'void (int, ...
0
votes
1answer
21 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
77 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
0answers
64 views

I need help pset4 blur filter(Less)

bool exist(int height, int width, int h, int w) { if (-1 < w && w < width && -1 < h && h < height) { num++; return true; } return ...
0
votes
1answer
52 views

cs50 ide problem it did not open

what is this problem how can I solved it
0
votes
0answers
33 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
1answer
123 views

how to switch to normal mode when using vim in CS50 IDE

how to exit vim insert mode in CS50 IDE? typing esc or ctrl+[ doesn't work.
0
votes
2answers
330 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
1k 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
30 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
32 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
143 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?
0
votes
1answer
57 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
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
98 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 ...