vscode-docs icon indicating copy to clipboard operation
vscode-docs copied to clipboard

Setup of VS code for C programing.

Open Achyutaryaa opened this issue 5 years ago • 4 comments

I don't know that how to run C program in VS code. I have installed VS code and extensions of C program. I don't know how to set variable environment also. You can also reply me on [https://facebook.com/KingAchyutaryaa]

Achyutaryaa avatar Mar 27 '21 16:03 Achyutaryaa

First install using mingw zip file for system it give c++ complier ,debugger and c++ other library files https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/

Mark for install all gnu c++ compiler

check path in your sys C:\MinGW (windows) if you downloaded search for edit environment variables for your account and add this C:\MinGW\bin path in PATH variable

check for g++ --version gdb --version

copy task & launch json. it build & execute your c++ code Note if you change directory or you can't see 2 files you should add it

Refer link for detail Explanation

https://code.visualstudio.com/docs/cpp/config-mingw

logesh07 avatar Mar 27 '21 20:03 logesh07

Closing as user was pointed to MinGW tutorial and hasn't responded.

gregvanl avatar Apr 14 '21 02:04 gregvanl

Okay! It is working now.

Achyutaryaa avatar May 01 '21 12:05 Achyutaryaa

Command isn't which I went

yaxye8123 avatar May 02 '21 22:05 yaxye8123