I cant include conio.h in vs code - visual-studio-code

I switched to VS code from DevC++, now when i am trying to include conio.h in my program . It says fatal error: NO such file or directory.
Can someone help me with this?.

Related

Error Visual studio code can't find command 'CodeGPT: Set API Key' resulted in an error

I want to use the CodeGPT extension but when I look for API Key part, VS code gives an error
command 'codegpt.setApiKeyCodeGPT' not found
, can someone help me?

VS code, cant debug. error = path must be type string

I'm trying to debug my C project in vs code and the "makefile tools" debug option.
when I try to debug, after choosing the out file I get the following error:
The "path" argument must be of type string. Received undefined
I would appreciate any help, thanks a lot.
I've been searching all over for a sulution. reinstall the extention and fiddle much around with the settings.

VS Code Error: "You don't have an extension for debugging YAML. Should we find a YAML extension in the Marketplace?"

I'm trying to compile a program, and when I try to debug and run the script I get an error that reads "You don't have an extension for debugging YAML. Should we find a YAML extension in the Marketplace?"
I opened VS Code and tried to run the script, but I got the error.
Assuming you already have the necessary language support, and the program you are attempting to compile is in dart, you may be encountering this issue.
As stated in the linked thread, select main.dart so it's the currently active file, then attempt to debug and run. One cause of this error seems to stem from having pubspec.yaml as the current file open in VS Code.

Issue with FTP-Sync, using command "ftp-sync:init" I get error message: "Cannot read property '0' of undefined"

I have downloaded vs code to my mac and am trying to connect to the server using the ftp-sync extension built into vs code. After installing ftp-sync, I tried to use the command ftp:sync-init and the following error appears:
"Command 'Ftp-sync: Init' resulted in an error (Cannot read property '0' of undefined)".
I'm a beginner at using VS Code and don't know how to fix the problem and need to get my server going asaap to access files.
You have to first open a folder either empty o or an existing project so the .vscode can be created.

avr-g++.exe: error: device-specs/specs-avr2: No such file or directory

I'm trying to install Marlin on an Ender 3. But Arduino IDE is giving me this error:
C:\Users\Michael.Heredia\Downloads\Marlin-2.0.x\Marlin-2.0.x\Marlin\src\lcd\dogm\HAL_LCD_class_defines.h: In member function 'void U8GLIB_SSD1309_128X64_HAL::init(pin_t, pin_t, pin_t)': C:\Users\Michael.Heredia\Downloads\Marlin-2.0.x\Marlin-2.0.x\Marlin\src\lcd\dogm\HAL_LCD_class_defines.h:134:5: error: 'init' is not a member of 'U8GLIB'
U8GLIB::init(&u8g_dev_ssd1309_hw_spi, (uint8_t)cs, (uint8_t)a0, (uint8_t)reset);
I've decided to try auto build Marlin on VSCode but cannot get past this error:
avr-g++.exe: error: device-specs/specs-avr2: No such file or directory
I've looked across many forums and the most common issue seems to be adding or deleting something in the path. Judging by the fact that it is a No such file or directory error, I need to add something to the path, but all the solutions I've found seem to have different things, and none of them seem to explain where I find the directory to add to the path.
How can I solve this?
Close VSC and go to C:\Users\yourname and delete the .platformio folder.
Restart VS Code and you should get a fresh install of Platformio.
This should get you going.