As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [vscode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Failed to open database shows.db

I downloaded the shows.db (which was being explained in Week7)and tried to open in my local vs code after enabling sqlite3 extension. but I get an error "Failed to open database 'e:\CS50\SQLlite\...
Asif Dawood's user avatar
0 votes
1 answer
9 views

CS50, week1, lab1, population of llamas, an error keeps showing up for the line of int years = 0, the error is expected expression, Why is that?

#include <cs50.h> #include <stdio.h> int main(void) { // TODO: Prompt for start size int start; do { start = get_int("start size: "); } while (start < 9); // TODO: Prompt for ...
Hussien.Abdelbaky's user avatar
0 votes
0 answers
34 views

fixing an 'from github import Github' error

I continue to receive this error message for when I attempt to import GitHub to my visual studio code in order to have it read the repository. ERROR MESSAGE: ModuleNotFoundError: No module named ‘...
Jayy Griff's user avatar
0 votes
1 answer
199 views

Consistently getting " is a directory" error when I try to open a .c file

I have been unable to work on the distribution code that I download to the online version of VS Code because it keeps confusing the directory for the file I am trying to work on. I find that 50% of ...
5050j's user avatar
  • 3
0 votes
0 answers
88 views

make : The term 'make' is not recognized as the name of a cmdlet

I am practicing C coding on Vs Code in my local Machine, but it shows an error when I write "Make hello" command in the terminal. I have already added the compiler to the environment path in ...
Junaid Qadir's user avatar
0 votes
0 answers
15 views

Linker Error in VS Code Mac

I am doing an exercise. I need to run a simple C++ code in which I need to include a header file. I am using VS code on Mac. Indeed, I have the main file (use.cpp) with the code #include "my.h&...
Sajad Sadeghi's user avatar
0 votes
0 answers
6 views

visual studio terminal don't allow typing and only show "$"

Good morning My Visual Studio terminal don't allow typing and only show "$", I have tried everything so far and nothing have worked so far. Please help
javier's user avatar
  • 1
0 votes
1 answer
55 views

Copy and paste from cs50.harvard.edu pages to VS code

When I copy a command from a page like https://cs50.harvard.edu/x/2022/psets/1/cash/ , then hit CTRL+V in my VS Code terminal to paste, I just get ^V instead of the text I copied. It looks like there ...
Sutherine's user avatar
0 votes
0 answers
14 views

Gibberish in terminal window while afk - pset 9

I went afk for a few minutes while doing some cs50 week 9 programming and came back to this in my terminal window. What is going on here? For reference, I'm just doing some html/python/flask stuff in ...
Glaek's user avatar
  • 1
0 votes
0 answers
6 views

Not sure what I should do to resolve the error?

The left hand side is the instructor's screen while the right hand side is mine. I entered the same line that he had but failed to "make" the code correctly. I have installed the C program ...
cs50 learner's user avatar
0 votes
0 answers
40 views

A Strange Issue with Clang in my VS Code

So the issue arose when I installed CS50 library using the following instructions: This method left me with typing the whole clang command (clang hello.c -0 hello -lcs50) every time I had to compile ...
Usama Abdul Moeed's user avatar
0 votes
0 answers
33 views

My cs50 codespace / VSCODE online does not allow for me to imput stuff into the terminal

Everything was working fine yesteday and today when entering i cant select the terminal and use it ... i think after some time i deleted the cs50 extension and now i dont find the one i deleted to ...
Luis Carvalho's user avatar
0 votes
1 answer
9 views

Cannot operate terminal in VS Code as /workspaces/ is now in terminal

I am on pset8 homepage and I had some issues uploading my images to my homepage file in VS Code so I downloaded VS code to my computer as I had previously been using it with the online version. Now ...
Christopher White's user avatar
0 votes
0 answers
22 views

Can't get the VSCode stuff to work

I followed all the instructions on https://cs50.readthedocs.io/github/#ssh and I got the Hi user! You've successfully authenticated, but GitHub does not provide shell access. message, but none of the ...
Hg0428's user avatar
  • 101
0 votes
0 answers
60 views

Is it possible to use VS Code offline to complete cs50?

Trying to complete cs50, staying after hours in work. This has added some complexity as I am using my work setup and thus have somewhat limited ability to download new software etc. I have tried the ...
Zach's user avatar
  • 1
0 votes
0 answers
68 views

HELP, error on VS Code, new programmer, CONTAINER ERROR

I'm in the middle of finalizing pset4/filter-more. Just last night I got the error that you can see in the image attached. What could be the cause? A virus? I'm new to programming and really don't ...
Alvaro Barboza's user avatar
0 votes
0 answers
10 views

Comment Anchors extension for vs code

does anyone have experience with an extension called Comment Anchors for vs code? I'm trying to learn how to use it in order to change font color and make reading code easier. I'm using the desktop ...
Alvaro Barboza's user avatar
1 vote
1 answer
48 views

tilde ~ not showing in ssh set up

I've started Pset 1 and I'm currently implementing my codespace. After executing ssh-keygen, I have to execute cat ~/.ssh/id_rsa.pub. However, the tilde '~' does not appear in the vscode terminal and ...
Maria's user avatar
  • 21
1 vote
1 answer
180 views

VS code malfunction

On this morning when I open my vs code I found this suddenly pop out. I ignore it and start coding. Afterward I found that I can save my codes, so I code it in notepad and I save it to vs code using ...
the-great-potato's user avatar
1 vote
1 answer
581 views

How to write command line arguments when debugging Codes in VScode

I am new to the programming world this being my first course actually, and I am currently working on the 4th week assignment "recover". And as I had to do before in previous assignments(...
MOHAMAD IBRAHIM's user avatar
1 vote
1 answer
278 views

Compiling Error: Make function not working

I'm just starting out, using VS code as my IDE. Here is my code #include <stdio.h> //here were are setting up a function //meow(void) means it takes no arguments //void at the beginning is ...
CAM_etal's user avatar
0 votes
0 answers
841 views

Can't Run Debug50 on VsCode!

Referencing the issue below: Can't run debugger
vicraw215's user avatar
0 votes
1 answer
588 views

get_string() C function not working

I just began CS50 and was trying to copy some of the examples done on the lecture video. I use opensuse tumbleweed(also a little new to it) and I had installed the cs50 c library just as the ...
christot20's user avatar
1 vote
1 answer
281 views

How do correct I correct the pylint(no-member) error I get in the Web Flight lesson

Class Flight(models.Model): origin = models.ForeignKey(Airport, on_delete=models.CASCADE, related_name="departure") destination = models.ForeignKey(Airport, on_delete=models.CASCADE, ...
nfanahotmailcom's user avatar
3 votes
1 answer
3k views

How to configure VS Code to compile C used in CS50?

I was wondering how to do it, so I intended to proceed on two different machines running Linux (Ubuntu 19.10 developer version), to see how to do so. Any additional help most welcome!
Lurch's user avatar
  • 51
3 votes
3 answers
8k views

Instance of 'scoped_session' has no 'commit' member

I'm working on the project1 from cs50web course. Getting the following problem using flask and SQLAlchemy: "Instance of 'scoped_session' has no 'execute' memberpylint(no-member)". I use Ubuntu 18....
flintEastvood's user avatar