Questions tagged [vscode]
The vscode tag has no usage guidance.
26
questions
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\...
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 ...
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 ‘...
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 ...
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 ...
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&...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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(...
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 ...
0
votes
0
answers
841
views
Can't Run Debug50 on VsCode!
Referencing the issue below: Can't run debugger
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 ...
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, ...
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!
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....