15 votes

Pset7 - Forbidden 403. I can't even get started

I found that deleted post over on reddit with an answer from delipity. But the user continued to have problems. I unzipped a fresh pset7, and did these chmods and finally got RockRolld! (oops. Spoiler ...
DinoCoderSaurus's user avatar
13 votes

Pset7 - Forbidden 403. I can't even get started

This is the same solution as posted in Reddit, simply with clean code ready for copy/paste to terminal. Please note that you have to start in "workspace" directory. chmod 711 pset7 cd pset7 ...
keezhas's user avatar
  • 131
10 votes

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

I was able to get mine working on my Mac with Visual Studio Code as follow: Assuming you have Visual Studio already installed and with all C/C++ extensions required for compiling and running C codes, ...
Jerome S. Patrick's user avatar
10 votes

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

Following are the steps to get the CS50 libraries installed in VSC in Windows 10 with mingw64 environment: Pre requisite: Install Mingw64 to set up VSC for C/C++ programming https://www.youtube.com/...
rush dee's user avatar
  • 209
9 votes
Accepted

Not able to access (403 Forbidden) own website: https://ide50-username.cs50.io/ (with my username)

Someone else posted some helpful solutions I will summarize here... I can't remember who (sorry). From ~/workspace/ chmod -R 755 pset8 (or chmod -R 755 pset7 ... I had the same Forbidden error ...
Wilson Rook's user avatar
6 votes

Debugger button missing

I've just found that if you right click on the tab for the program, the menu list includes an option 'Run this program', this opens a new terminal and runs the program using the debugger.
Mike McClory's user avatar
5 votes

Debug button missing and GNU debugger not working

I had the same problem. The only way I've been able to use the graphical interface is to run debug50 ./programname from the terminal. An alternative would be to use gdb from the terminal which there'...
tamj0rd2's user avatar
  • 183
5 votes

Not able to access (403 Forbidden) own website: https://ide50-username.cs50.io/ (with my username)

See this post: Issues with the CS50 IDE There have been updates to the IDE, and unless there's a new way to get there that I'm missing, there's a bug in accessing your own site through the IDE.
Peter's user avatar
  • 1,402
4 votes
Accepted

Debugger button missing

EDIT September '16 The latest version of the IDE (69-ish) has a new utility called debug50. I can't find a way to get the button back, but you can run the GUI debugger this way: In View uncheck ...
DinoCoderSaurus's user avatar
4 votes
Accepted

workspace stopped working cant get to my code?

This happens sometimes. I've seen rare cases take 3 or 4 minutes to load, more is possible. Try again later and see if it persists. (Sometimes its also a function of how long its been since the last ...
Cliff B's user avatar
  • 68.1k
3 votes

Small issues with the CS50 IDE text editor

Please read this, it may be the answer to your problems.
Aizen's user avatar
  • 309
3 votes
Accepted

Should I use CS50 IDE or CS50 Appliance as an edX student?

for version edX 2015 (aka Harvard fall/2014), it's recommended to use appliance 2014 because some of the psets in this version of the course are not solvable in the CS50 IDE (e.g., breakout). to ...
3 votes
Accepted

CS50 IDE seems to use an old version of the CS50 library

It should be sufficient to update the IDE, using the update50 command, on the terminal. It is also possible that the announced changes take a few days or weeks to complete
MARS's user avatar
  • 5,159
3 votes

Pset 1 Credit Card ( help needed )

Good job reaching that point and giving a shot to the hacker pset too! Don't be dismayed if you don't succeed with the first try, keep trying! Now to your question. First of all when you declare a ...
ChrisG's user avatar
  • 7,366
3 votes
Accepted

Pset 4 : recover

It's probably safe to assume the first block is not a jpg sig otherwise what would be the point of the exercise? At the first fread, what happens if it doesn't find a jpg sig? Control goes here ...
DinoCoderSaurus's user avatar
3 votes

How come none of my commands work?

You are writing these commands into a file, while they are meant to go into a terminal window. There are multiple ways to open one, "File"->"New Terminal", using the + button of one of the panels and ...
Blauelf's user avatar
  • 20.9k
3 votes
Accepted

update50: command not found in CS50 IDE

update50 is no longer required. If you still see instructions in the current year problem sets to run it, please let us know which one(s) and we will fix.
curiouskiwi's user avatar
  • 18.6k
3 votes
Accepted

helpers.c not compiling for filter

You are not meant to compile helpers.c to its own programme. Just make filter. The Makefile will make sure that helpers.c gets compiled as well, and that it gets linked into filter.
Blauelf's user avatar
  • 20.9k
3 votes

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

If you are using Visual Studio Code you can install the extension called Love2D Support from Pixelbyte Studios Once that is installed you have to restart VS Code. Then open up the folder containing ...
donyd's user avatar
  • 90
2 votes
Accepted

SPL question, how to use it in CS50 IDE?

I'm afraid there is no way for the SPL to work on the CS50 IDE the same way it works on the appliance. what you can do though is to download VMware's alternative, Oracle's VirtualBox, which is free of ...
kzidane's user avatar
  • 17.6k
2 votes
Accepted

When I run my apache50 server at ~/workspace/pset7/public why does login.php files open?

From the pset instructions: Know that index.php is the file that’s loaded by default when you visit a URL like https://ide50-username.cs50.io/. ...which calls (redirects to) login.php (via ...
DinoCoderSaurus's user avatar
2 votes

how to use cs50 ide internal web browser

There is no "Internal web browser" for the CS50 IDE. To preview your .html or .php files the IDE will open a new tab on your current browser and launch the code. You can still play with the configs ...
Marco A. Bomfim's user avatar
2 votes
Accepted

pset6 : cs50 IDE problem starting my server The webpage is not avialable

The website is available on https://ide50-username.cs50.io/ I had the same problem. Try update50 in console.
Ibrahim's user avatar
  • 428
2 votes

Not able to access (403 Forbidden) own website: https://ide50-username.cs50.io/ (with my username)

TL; DR: If you are having permission issues on pset7, you can fix them with the following three commands: find ~/workspace/pset7/ -type d |xargs chmod 755 find ~/workspace/pset7/ -name *.php |xargs ...
hotwebmatter's user avatar
  • 3,050
2 votes
Accepted

How do I submit a bug report to the ide50 maintainers?

Official answer: the CS50 team is aware of all the issues we've noted and more. Version 60 will be coming out in the next few days, and it should take care of things.
Peter's user avatar
  • 1,402
2 votes

problems with clickiing in cs50 ide

Ditto! at 11:48 a.m. PST California. This found on cs50 reddit: https://www.reddit.com/r/cs50/comments/4xulet/cs50_ide_updates_in_progress/?ref=share&ref_source=link
Karen Safrit's user avatar
2 votes

Syntax highlighting in CS50 IDE

Don't worry -- nothing bad will happen if you rename the file. The point of naming it import rather than import.php is just to show you that this isn't a regular PHP web app file to be executed by the ...
hotwebmatter's user avatar
  • 3,050
2 votes

problem in cs50 check

You are printing an extra space before the actual message is printed. Depending on how your code looks, it's quite likely you have a printf(" "); statement somewhere in your code.
kluvin's user avatar
  • 1,223
2 votes

My cloud9 account has expired. How do i renew it?

It seems you just need to wait a while before they give you access (as part of the "expired trial"). Im not sure exactly how long, but I alt tabbed back to it after about 30 mins and it was good to ...
Bijan Khadembashi's user avatar
2 votes
Accepted

403 Forbidden - When Trying To Access HTML

That is the mode required to access a file with apache50 server. You will need to chmod 644 the html file, or any file, to get rid of the "403 Forbidden" error.
DinoCoderSaurus's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible