How to Run C and C++ Programs on VS code?

  Рет қаралды 696,517

Mr About Tech

Mr About Tech

Күн бұрын

Пікірлер: 1 100
@luisvillanueva807
@luisvillanueva807 4 жыл бұрын
Hi man , really good video but I have a doubt, i run succesfully my code at VS but output section is for read only, how can I do when I need to input some data. I mean through terminal
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Watch my video on that kzbin.info/www/bejne/iZqbo4Frf5dnb68
@vishnu.c4652
@vishnu.c4652 4 жыл бұрын
use the terminal
@williammatiz9745
@williammatiz9745 4 жыл бұрын
Open VS code. Go to files, preferences, settings. Go to User, scroll all the way till you see run code configuration. Click that and scroll a lot till you see "Run In Terminal". Check box that, then do control+s right after :) Warning: If it gives you a User warning settings, check to see if you're using a color pallet theme extension that does not support C++. If so, uninstall and look for C++ color themes as an alternative. Hope it helps :)
@wmprogrammingskills3170
@wmprogrammingskills3170 4 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@abhishekdhok5245
@abhishekdhok5245 3 жыл бұрын
Here is best tut for vs code: kzbin.info/www/bejne/m6umeJ6Lr9R6mKc
@Leonardo-G
@Leonardo-G 4 жыл бұрын
Rule 64 of the internet: “If there’s a problem you have, there’s an amazing tutorial on KZbin by an Indian 17 year old”
@Smyth47466
@Smyth47466 4 жыл бұрын
I don't think he's 17
@apar3258
@apar3258 4 жыл бұрын
@@Smyth47466 Well, he looks like one
@bilpersonal
@bilpersonal 4 жыл бұрын
@@Smyth47466 than he must be 16 hahah
@gauravnegi4312
@gauravnegi4312 4 жыл бұрын
Can you please tell rule no 45, 34 and 63. I wanna know.
@muhammadtantowijauhari8415
@muhammadtantowijauhari8415 4 жыл бұрын
@@gauravnegi4312 :)
@emc2677
@emc2677 4 жыл бұрын
OMG DUDE I REALLY THANK YOU SO MUCH! I WAS ABOUT TO LOOSE MY MIND....
@anshtripathi7035
@anshtripathi7035 4 жыл бұрын
lose*
@ZirixNightcore
@ZirixNightcore 4 жыл бұрын
@@anshtripathi7035 ok
@wmprogrammingskills3170
@wmprogrammingskills3170 4 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@berry-xs8ln
@berry-xs8ln 4 жыл бұрын
LETS GOOO!!! after a million different tutorials i finally got it to work all thanks to you!!! God bless you man
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Thank you
@kaoutarru4619
@kaoutarru4619 4 жыл бұрын
I literally do the exact same things you have done but when i run it they show me errors and saying that something wrong with #include.. I don't know if i have to install the library or something like thaat.. help please 🙏🏻
@wmprogrammingskills3170
@wmprogrammingskills3170 4 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@kaoutarru4619
@kaoutarru4619 4 жыл бұрын
@@wmprogrammingskills3170 good job but still u need to make sure num2 != 0 . Also this code won't be able to calculate 7/3 thus you need to do the type casting to the result.. otherwise you could just use a template
@harinadhtanna
@harinadhtanna 3 жыл бұрын
same problem for me tooo
@kaoutarru4619
@kaoutarru4619 3 жыл бұрын
@@harinadhtanna apparently.. i didn't have much time to fix the error so i have changed the IDE, I'm currently using atom text editor and it works just fine.
@itsAnju1708
@itsAnju1708 4 жыл бұрын
my vsc still dosent compiles my c&c++ code . what should i do now ?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
What is the error that you are getting?
@sivabalanj
@sivabalanj 4 жыл бұрын
have a easy solution....to run and debug.... step 1: installing MinGW 3:35 step 2: you must install "code runner"(.run) and "c/c++ by microsoft" extension in the visual studio code. step 3: file>settings and in the text field search for these two " Run In Terminal " & " Save file before run (optional but recommended)" and check them both step 4: you r good to code...you can even set breakpoints (that red dot) and debug the program and even view the change in variables using "watch" Enjoy
@sushantadhikari6008
@sushantadhikari6008 4 жыл бұрын
Thanks bro. I watched two more videos before this but they didnt tell about the reatarting of VS code and you only told about that. So this is the most helpful video in youtube for getting ready with C++ in the VS code editor.
@omkumarsingh4194
@omkumarsingh4194 3 жыл бұрын
Access is denied is coming while running c but code of c++ runs fine Please help
@MrAboutTech
@MrAboutTech 3 жыл бұрын
Run vscode as administrator and then try
@roopakbedekar3281
@roopakbedekar3281 4 жыл бұрын
After watching 4-5 videos this helped me. Thanks
@wmprogrammingskills3170
@wmprogrammingskills3170 4 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@Spitting_facts10206
@Spitting_facts10206 3 жыл бұрын
Thanx a lot buddy I saw so many vidoes but urs only targetted the main problem which is faced many of us i guess Good work keep it up Subscribed✌🏻
@sandeepmishra593
@sandeepmishra593 4 жыл бұрын
I'm getting a problem the problem is this ,in environment variable I add mingw but when reopen it it's automatically removed
@Mighty_Dork
@Mighty_Dork 2 жыл бұрын
I've been trying to figure this stuff out for 3 hours and you were the most helpful
@changgao8237
@changgao8237 4 жыл бұрын
Thank you! That really helps me ! You explain clearly !
@wmprogrammingskills3170
@wmprogrammingskills3170 4 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@oybekmuxtaraliyev
@oybekmuxtaraliyev Жыл бұрын
Thanks bro. It worked for me and you have been a great help to my work. The video is really cool. Good luck with your creation.
@thomasscunderlick9957
@thomasscunderlick9957 4 жыл бұрын
in my says: undefined reference to `WinMain@16' collect2.exe: error: ld returned 1 exit status
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Is your program located in the same local disk as where you have installed mingw
@thomasscunderlick9957
@thomasscunderlick9957 4 жыл бұрын
@@MrAboutTech should it be ?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Yes
@deepanshisisodiya3023
@deepanshisisodiya3023 4 жыл бұрын
Thank you so much! I was struggling hard to figure this out. Almost going nuts!
@zntu6529
@zntu6529 4 жыл бұрын
will C and C++ run on mac os catalina? pls help me
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Yes if you have GCC installed on your system. To check type this on your terminal gcc --version
@horzeil184
@horzeil184 Жыл бұрын
Thank you it is really work but the problem is why it creat a .exe file after runcode? im a new at c programming
@Don_Modern_Ancestor
@Don_Modern_Ancestor 4 жыл бұрын
Thank you....You made it simple. Went through many videos now I see were overly complicated for beginning c++ in visual code...
@natriac.6092
@natriac.6092 3 жыл бұрын
FINALL, I AM REALLY THANKFUL! WHY WAS IT SO DIFFICULT TO BEGIN WITH !!! DDAMN!
@lastmanarmy5090
@lastmanarmy5090 3 жыл бұрын
@Mr About Tech why visual code shows previous output once i rewrite the code,how can i execute the current code in current terminal.. plz reply
@belalahmad4040
@belalahmad4040 3 жыл бұрын
There is a problem sir - cannot open output file main.exe permission denied collect2.exe :id returned 1 exit status
@tami9154
@tami9154 3 жыл бұрын
I am unable to add a workspace folder . It shows path does not exist
@KanishkSaini1999
@KanishkSaini1999 4 жыл бұрын
Will a CPP file containing will work or not please tell :(
@MrAboutTech
@MrAboutTech 4 жыл бұрын
I haven't tried that
@surajbhagat878
@surajbhagat878 3 жыл бұрын
when i Run program .....it ask me for select environment and giving me 3 option.
@vikaskumar7019
@vikaskumar7019 3 жыл бұрын
Videos to maine bahut saare dekhe but problem meri yahi aakr solve hue So thank you so much bro .
@alertadegambiarra
@alertadegambiarra 3 жыл бұрын
thanks it worked, but i cant debug the code, any help for this issue?
@Sk8erMorris
@Sk8erMorris 3 жыл бұрын
Hey I don't get that play button at the top right nor do I get the right click 'run' selection from the file. I have followed all the steps and have newest VSCode installed.
@MrAboutTech
@MrAboutTech 3 жыл бұрын
Install code runner extension
@Sk8erMorris
@Sk8erMorris 3 жыл бұрын
@@MrAboutTech thank you much Sir, it was that and it works now
@MrAboutTech
@MrAboutTech 3 жыл бұрын
Good to hear that
@Wwise_sounds
@Wwise_sounds 3 жыл бұрын
Thanks it works. quick question: how do I make VS code accept my input?
@MrAboutTech
@MrAboutTech 3 жыл бұрын
Good to know that. quick answer: kzbin.info/www/bejne/iZqbo4Frf5dnb68
@serginho123ify
@serginho123ify 4 жыл бұрын
Thank you so much, man! It helped me a lot... simple and objective... Congrats from Brazil!
@wmprogrammingskills3170
@wmprogrammingskills3170 4 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@poonamkaur7110
@poonamkaur7110 3 жыл бұрын
Hey...I have install the mingw and followed all the steps that you said in the video but it shows "access is denied " in the output. Please help me to remove this error ASAP
@MrAboutTech
@MrAboutTech 3 жыл бұрын
Run vscode as administrator
@JuanRodriguez-fk2iy
@JuanRodriguez-fk2iy 4 жыл бұрын
How do you run a program. I am right clicking on the code but "Run" is not in the options
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Install code runner extension and then try
@wisnupramoedya
@wisnupramoedya 4 жыл бұрын
Hi, I could not find the "Run Code" feature using Ctrl+Alt+N. How do you activate it? Thanks for the video, it is really great.
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Have you installed code runner extension?
@wisnupramoedya
@wisnupramoedya 4 жыл бұрын
Oh, okay thank you. It is worked :v
@rozarigamer9050
@rozarigamer9050 6 ай бұрын
Bro i watched so many videos but by your way i run my code thank you bhai❤
@juliuscoronado5472
@juliuscoronado5472 4 жыл бұрын
Another video told me to put the ~ C:\MinGW\bin ~ in the 'System Variables' path . That does NOT work. I had to delete that, and move the ~C:\MinGW\bin~ to 'User variables for blank'. Finally I dont get "undefined reference to 'winmain@16'"
@kavinsangamesh8953
@kavinsangamesh8953 4 жыл бұрын
Thanks for the tutorial it was really very useful. But I have a doubt.what happens if we uninstall MinGW after every above mentioned procedures are done ..please help me to get clarified
@tharinduweerasinghe2664
@tharinduweerasinghe2664 4 жыл бұрын
Thanks for the video bro. Extremely helpful. Might I ask what is the color scheme you are using on VSCode? Looks cool!
@MrAboutTech
@MrAboutTech 4 жыл бұрын
I'm using material theme extension and in that palenight high contrast
@tharinduweerasinghe2664
@tharinduweerasinghe2664 4 жыл бұрын
@@MrAboutTech Thanks! Gotta try that :D
@akshayr4083
@akshayr4083 3 жыл бұрын
Bro When I try to install mingw-get-setup by press "Continue" ,it showing error in my laptop. Plz give me a solution wat problem in my lap. I had no network issues, other than wat problem ?
@chawpink95
@chawpink95 4 жыл бұрын
How come when I right click there isn't an option to "run code"? Also I don't have the play button on the top right side. Help someone??
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Install code runner extension and then try
@movievideo1695
@movievideo1695 2 жыл бұрын
Can u help me I can download the Mingw 64 i got zip file , what I can do next process
@muhammadfaizanasghar77
@muhammadfaizanasghar77 3 жыл бұрын
I hope you get success man. A really helpful and to the point videos.
@kbcbala
@kbcbala 3 жыл бұрын
Really nice one mate. Me, Coming from a Linux background, I wanted to get started with VSCode quickly. This video really got me going. Cheers.
@zamiamaan9698
@zamiamaan9698 4 жыл бұрын
Only your tutorial worked in my pc Thanks a lot 😊
@nishuvidyarthi7770
@nishuvidyarthi7770 4 жыл бұрын
I tried all the steps until setting the path in my environment settings! But i still have that gcc error. Any idea why??
@MrAboutTech
@MrAboutTech 4 жыл бұрын
After installation you should not have the error. Is the path set properly? To check run gcc -v in cmd
@MrAboutTech
@MrAboutTech 4 жыл бұрын
You should get the gcc version after running it. If not then it is not set properly.
@prabalranjangoswami1750
@prabalranjangoswami1750 4 жыл бұрын
how are you running it ? tell us the button? just the right click is not working.
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Download code runner extension
@harshparadkar
@harshparadkar 4 жыл бұрын
The only video I found helpful on running cpp on vscode. Thanks man!!
@gaBehcuoDsuoitneterP
@gaBehcuoDsuoitneterP 11 күн бұрын
Which monospace?
@shreebharath643
@shreebharath643 4 жыл бұрын
It works..but i have an error regarding of outpit section please help me out
@MrAboutTech
@MrAboutTech 4 жыл бұрын
What error are you having?
@logan3448
@logan3448 Жыл бұрын
why not complie by gcc sample.c and then run by ./a.exe ?
@AbhishekKumar-xt7wu
@AbhishekKumar-xt7wu 3 жыл бұрын
still not working "IntelliSense mode msvc-x64 is incompatible with compiler path." always show this message when i try please help.
@MrAboutTech
@MrAboutTech 3 жыл бұрын
What extension have you installed?
@AbhishekKumar-xt7wu
@AbhishekKumar-xt7wu 3 жыл бұрын
@@MrAboutTech c/c++
@ramareddy7147
@ramareddy7147 4 жыл бұрын
after one try it is not working please i did exactly the same help
@hhc1501
@hhc1501 4 жыл бұрын
why don't I have the run button on the top-right corner for c/c++ files? (Python files are OK.)
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Have you downloaded code runner extension?
@ranishetty6763
@ranishetty6763 3 жыл бұрын
I couldn't run d programs.. I'm getting the errors as "access denied" How do i fix diz now??
@MrAboutTech
@MrAboutTech 3 жыл бұрын
Run vscode as administrator and then try
@niel8115
@niel8115 4 жыл бұрын
there is showing no "run code" option on right click, how to fix it?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Download code runner extension
@chadrackkyungu2167
@chadrackkyungu2167 4 жыл бұрын
[Error - 10:03:48] Server initialization failed. Message: Request initialize failed with message: [UriError]: Scheme is missing: {scheme: "", authority: "", path: "null", query: "", fragment: ""} Code: -32603 this is what happened after I try run it please assisted me
@blueeyeswhiteguy3399
@blueeyeswhiteguy3399 4 жыл бұрын
Thank ya man, the last 2 videos I watched didn't help me but yours did
@wmprogrammingskills3170
@wmprogrammingskills3170 4 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@nishanthmurugan5502
@nishanthmurugan5502 4 жыл бұрын
Is there is separate minggw for 32 bit and 64 bit
@mthokozisikhumalo1540
@mthokozisikhumalo1540 4 жыл бұрын
hey i follow a long your videos and i did everything but i can not run how do i run it because so far it been telling me command "code-runner" not found
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Install code runner extension and then you will be able to run your code
@geogaddi84
@geogaddi84 3 жыл бұрын
when I opened the Min GW file, I don't see any exe types. What'd i do wrong?
@MrAboutTech
@MrAboutTech 3 жыл бұрын
I have made all the file extensions visible. You can do it too.
@Lyjacxz
@Lyjacxz 4 жыл бұрын
the environment variable is different in windows 8.1 what should i do ?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Refer to this www.computerhope.com/issues/ch000549.htm
@muhammadthabsheer6292
@muhammadthabsheer6292 4 жыл бұрын
Download progress got stuck at 69%. Network is fine. What would be the issue?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Should be the network. Can't think of anything else.
@Aryan-ji2nk
@Aryan-ji2nk 3 жыл бұрын
Hey can you help me bro the file (g++) you showed for installation , im not able to click on it for installation
@MrAboutTech
@MrAboutTech 3 жыл бұрын
So click or right-click, nothing is working? Try reinstalling MinGW.
@Aryan-ji2nk
@Aryan-ji2nk 3 жыл бұрын
@@MrAboutTech it's installed successfully Actually the problem was it was already installed so it was not allowing me to reinstall also I was having problem with running programme so installed all the packages instead of only g++ and it worked
@chinmaysabnis8700
@chinmaysabnis8700 4 жыл бұрын
Literally I saw thousands of vidio for this error but not a single one worked. But when I saw your vidio and mystry solve
@polycoder
@polycoder 2 жыл бұрын
it gives miDebuggerPath does not exist C:\ gdb.exe error
@iBhopable
@iBhopable 4 жыл бұрын
also from me, Thank you so much for this detailed video! i nearly doubt myself that i cant even compile and run a simple c - helloWorld :( many thanks :)
@wmprogrammingskills3170
@wmprogrammingskills3170 4 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@rupalisharma2674
@rupalisharma2674 3 жыл бұрын
I am not able to do this.....jo first show kiya vhi ho rha h .....
@DavidsGameplayMC
@DavidsGameplayMC 4 жыл бұрын
I don't have a run code option when I right click.
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Install code runner extension and then try
@sureshkumar-uq1dz
@sureshkumar-uq1dz 4 жыл бұрын
i am getting error when insert #include . the error is vckpg
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Drop the .h and just try stdio
@TwstedTV
@TwstedTV 4 жыл бұрын
But it doesnt work when you need to have user input. as it wont allow the user to input a string or other data from terminal because the compiler will always default to the output tab and not the terminal. Also you are using code runner and not typing out the actual command to compile the code.
@wizardgaming3235
@wizardgaming3235 2 жыл бұрын
i am not able to do this when i download mingw file , nothing like setup 3:31 is coming pls help me🥵🥵
@Realswagoverlord
@Realswagoverlord 4 жыл бұрын
Thank you :). Your video is very simple and the only tutorial that worked for me.
@Confeesorr
@Confeesorr 2 жыл бұрын
Hi, how can I run my code on cmd like Dev C++? I'd be very appreciate if someone helps me. I'm trying for days.
@adflyadfly4137
@adflyadfly4137 4 жыл бұрын
I follow as you say but now it says some include problem can you fix it
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Can you send me a screenshot of the whole error message? Email me at mrabouttech@gmail.com
@swasthikl.k2312
@swasthikl.k2312 4 жыл бұрын
it is coming code cannot run or define plss help me
@niccolio903
@niccolio903 4 жыл бұрын
Thank you! It was no problem to follow along with you.
@rathkl5657
@rathkl5657 4 жыл бұрын
In bin file I have only g++, gcc but no .exe why?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
So which extension do those files have?
@anshultiwari9847
@anshultiwari9847 4 жыл бұрын
what can i run c and python program in back to back in vs code
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Download code runner extension
@yeasinhossainstudent8929
@yeasinhossainstudent8929 4 жыл бұрын
thanks a lot. I successfully setup by your instructions. Waiting for your next upload. Thank you again.
@Itz__black9988
@Itz__black9988 4 жыл бұрын
I don't get running options after doing all things
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Install code runner extension
@Itz__black9988
@Itz__black9988 4 жыл бұрын
@@MrAboutTech ok sir
@aniketkolte8958
@aniketkolte8958 4 жыл бұрын
THANKS brother very much EFFICIENT solution , explained Easily!!!!😊👍
@ericnam1670
@ericnam1670 4 жыл бұрын
I did all the steps that you did, but I still can't run the basic program like hello world
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Is there any error that you are getting?
@AnshuKumar-sj7cn
@AnshuKumar-sj7cn 4 жыл бұрын
i am not able to find gcc.exe file plzz someone help me out
@helinchooi6741
@helinchooi6741 4 жыл бұрын
Hi, may I know the version of the compiler? It is GNU C++ 17 OR C++ 14?
@jinayshah7088
@jinayshah7088 3 жыл бұрын
is this compulsory to install mingw or is there any other way to run c/c++ code in vs code?
@MrAboutTech
@MrAboutTech 3 жыл бұрын
Mingw will install the gcc and g++ compilers which you need to compile and run a c and c++ program
@jinayshah7088
@jinayshah7088 3 жыл бұрын
@@MrAboutTech is there any other way other than this?
@surajkumarmohanty4976
@surajkumarmohanty4976 3 жыл бұрын
I did the same as you did but only c program run....not the c++one
@MrAboutTech
@MrAboutTech 3 жыл бұрын
What error are you getting there?
@Jarrod_C
@Jarrod_C 4 жыл бұрын
i dont even have the play button on the right top side, how do i get it to show up?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Download code runner extension
@Jarrod_C
@Jarrod_C 4 жыл бұрын
@@MrAboutTech IT WORKED THANK YOU!!....do i have to press ctrl+alt+n to run this or can i simply press one of the F keys to get it to compile
@Jarrod_C
@Jarrod_C 4 жыл бұрын
@@MrAboutTech also just curious how come python, comesw with a play button, while this didnt? I have been working in python in VS code and a play button came with it already, so what allowed this to happen?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
No. You will not be able to do it with F keys
@MrAboutTech
@MrAboutTech 4 жыл бұрын
And I guess for python you must have already install any extensions or maybe vscode supports it out of the box.
@codewithshreyash162
@codewithshreyash162 4 жыл бұрын
Which software you are using to record
@MrAboutTech
@MrAboutTech 4 жыл бұрын
I'm using camtasia studio
@codewithshreyash162
@codewithshreyash162 4 жыл бұрын
@@MrAboutTech it is free
@AG-ef5tz
@AG-ef5tz 4 жыл бұрын
there is no option for me like run code on right click
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Install code runner extension.
@jensenex9270
@jensenex9270 4 жыл бұрын
Its 2020 July, I followed all your steps but it doesnt work, im not sure if its because of an updated Visual studio code ? If possible is there anyway I could contact you if you're willing to help me out. Through email or anything is fine. Thanks !
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Yah email me. No problem mrabouttech@gmail.com
@jensenex9270
@jensenex9270 4 жыл бұрын
@@MrAboutTech I've emailed you, thank you !
@pavanbmpavanbm6604
@pavanbmpavanbm6604 3 жыл бұрын
Thanks a lot, I was struggling to fix the issue, now resolved
@aishkalyan11-
@aishkalyan11- 4 жыл бұрын
Sir I didn't have. Exe file in my folder..pls help me
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Try reinstalling
@rohannirwan9868
@rohannirwan9868 4 жыл бұрын
How to run a c program using command Line argument in vs code ?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
You can do that using terminal. You will have to write the compile and run command in there for running such programs. www.google.com/amp/s/www.geeksforgeeks.org/command-line-arguments-in-c-cpp/amp/
@jithendragunuru
@jithendragunuru 4 жыл бұрын
gcc: error: hello: No such file or directory gcc: error: world.c: No such file or directory gcc: error: world: No such file or directory gcc: fatal error: no input files compilation terminated bro, i got this error, help me out please.
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Have you set the path properly?
@tutsprograms8517
@tutsprograms8517 3 жыл бұрын
Thanks Bro it really helped me, i was strugling for that.
@smritisingh7889
@smritisingh7889 4 жыл бұрын
4:08 pe jo continue aana chahiye...wo nhi aa rha...what shud i do?
@aryansrivastav534
@aryansrivastav534 3 жыл бұрын
Minimalist is not working for my laptop
@hiddenthings4820
@hiddenthings4820 4 жыл бұрын
@Mr About Tech run code option is not showing. After right-click on it.
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Have u installed the extension for doing that?
@MrAboutTech
@MrAboutTech 4 жыл бұрын
Search for code runner extension, install it and restart your vs code
@kirta2910
@kirta2910 5 жыл бұрын
Thaks you a lot, no one upload videos for compile on C, only c++, and you help me to do that.
@kenji8841
@kenji8841 3 жыл бұрын
It said error: expected unqualified-id before '{' token
I tried 10 code editors
10:28
Fireship
Рет қаралды 3 МЛН
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 396 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 6 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 17 МЛН
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 67 МЛН
Can I Run Youtube Entirely From My Terminal? (No Browser)
15:31
How the C++ Compiler Works
17:55
The Cherno
Рет қаралды 809 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,1 МЛН
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 643 М.
Quest To Find The Largest Number
11:43
CodeParade
Рет қаралды 449 М.
Vim in 100 Seconds
11:53
Fireship
Рет қаралды 1,1 МЛН
The Brief History of Programming Languages
15:36
Byte of Michael
Рет қаралды 183 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 6 МЛН