Skip to main content

Questions tagged [vscode]

The tag has no usage guidance.

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

What to do with CS50 codespace after finishing?

I just finished CS50p, I haven't enrolled in the course, but have just been following the course via the website/youtube solving all the problem sets etc. Now I would like to tackle some of my own '...
user42925's user avatar
0 votes
0 answers
12 views

Is there a way to open external files from your desktop in CS50 VSC?

I try to find the option to upload the files from my local drive to CS50 online VSC, but not able to find the option. I have been copying the codes by hand. OR is there a terminal comments for that? I ...
TrytoLearn's user avatar
0 votes
0 answers
16 views

How to add a file to a directory(in this case, a "dictionary.txt" file)

I am trying to add a dictionary.txt file to my program in order to get a randomly generated five-letter word, however, it keeps saying there is no such file or directory, how should I fix this problem?...
Dragan Cvetkovic's user avatar
1 vote
0 answers
117 views

The installed cs50 library for python doesn't work on my Visual Studio Code on my Desktop

I've tried to set up Visual Studio Code on my Desktop for my final project (My online codespace is running out of storage), but despite having downloaded the cs50 library as follows pip3 install cs50 ...
Ganymede's user avatar
1 vote
1 answer
77 views

Man pages not accessible from VSCode for CS50

I get this message with commands such as man printf : This system has been minimized by removing packages and content that are not required on a system that users do not log into. To restore this ...
Sam Lehmann's user avatar
1 vote
0 answers
466 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
83 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 (...
Hussien.Abdelbaky's user avatar
1 vote
0 answers
184 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
2k 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
1 answer
459 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
1 answer
15 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
89 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
1 vote
1 answer
57 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
342 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
2k 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
355 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
-1 votes
1 answer
1k 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
411 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
4k 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
  • 61
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