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
@MrAboutTech4 жыл бұрын
Watch my video on that kzbin.info/www/bejne/iZqbo4Frf5dnb68
@vishnu.c46524 жыл бұрын
use the terminal
@williammatiz97454 жыл бұрын
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 :)
@wmprogrammingskills31704 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@abhishekdhok52453 жыл бұрын
Here is best tut for vs code: kzbin.info/www/bejne/m6umeJ6Lr9R6mKc
@Leonardo-G4 жыл бұрын
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”
@Smyth474664 жыл бұрын
I don't think he's 17
@apar32584 жыл бұрын
@@Smyth47466 Well, he looks like one
@bilpersonal4 жыл бұрын
@@Smyth47466 than he must be 16 hahah
@gauravnegi43124 жыл бұрын
Can you please tell rule no 45, 34 and 63. I wanna know.
@muhammadtantowijauhari84154 жыл бұрын
@@gauravnegi4312 :)
@emc26774 жыл бұрын
OMG DUDE I REALLY THANK YOU SO MUCH! I WAS ABOUT TO LOOSE MY MIND....
@anshtripathi70354 жыл бұрын
lose*
@ZirixNightcore4 жыл бұрын
@@anshtripathi7035 ok
@wmprogrammingskills31704 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@berry-xs8ln4 жыл бұрын
LETS GOOO!!! after a million different tutorials i finally got it to work all thanks to you!!! God bless you man
@MrAboutTech4 жыл бұрын
Thank you
@kaoutarru46194 жыл бұрын
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 🙏🏻
@wmprogrammingskills31704 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@kaoutarru46194 жыл бұрын
@@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
@harinadhtanna3 жыл бұрын
same problem for me tooo
@kaoutarru46193 жыл бұрын
@@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.
@itsAnju17084 жыл бұрын
my vsc still dosent compiles my c&c++ code . what should i do now ?
@MrAboutTech4 жыл бұрын
What is the error that you are getting?
@sivabalanj4 жыл бұрын
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
@sushantadhikari60084 жыл бұрын
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.
@omkumarsingh41943 жыл бұрын
Access is denied is coming while running c but code of c++ runs fine Please help
@MrAboutTech3 жыл бұрын
Run vscode as administrator and then try
@roopakbedekar32814 жыл бұрын
After watching 4-5 videos this helped me. Thanks
@wmprogrammingskills31704 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@Spitting_facts102063 жыл бұрын
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✌🏻
@sandeepmishra5934 жыл бұрын
I'm getting a problem the problem is this ,in environment variable I add mingw but when reopen it it's automatically removed
@Mighty_Dork2 жыл бұрын
I've been trying to figure this stuff out for 3 hours and you were the most helpful
@changgao82374 жыл бұрын
Thank you! That really helps me ! You explain clearly !
@wmprogrammingskills31704 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@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.
@thomasscunderlick99574 жыл бұрын
in my says: undefined reference to `WinMain@16' collect2.exe: error: ld returned 1 exit status
@MrAboutTech4 жыл бұрын
Is your program located in the same local disk as where you have installed mingw
@thomasscunderlick99574 жыл бұрын
@@MrAboutTech should it be ?
@MrAboutTech4 жыл бұрын
Yes
@deepanshisisodiya30234 жыл бұрын
Thank you so much! I was struggling hard to figure this out. Almost going nuts!
@zntu65294 жыл бұрын
will C and C++ run on mac os catalina? pls help me
@MrAboutTech4 жыл бұрын
Yes if you have GCC installed on your system. To check type this on your terminal gcc --version
@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_Ancestor4 жыл бұрын
Thank you....You made it simple. Went through many videos now I see were overly complicated for beginning c++ in visual code...
@natriac.60923 жыл бұрын
FINALL, I AM REALLY THANKFUL! WHY WAS IT SO DIFFICULT TO BEGIN WITH !!! DDAMN!
@lastmanarmy50903 жыл бұрын
@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
@belalahmad40403 жыл бұрын
There is a problem sir - cannot open output file main.exe permission denied collect2.exe :id returned 1 exit status
@tami91543 жыл бұрын
I am unable to add a workspace folder . It shows path does not exist
@KanishkSaini19994 жыл бұрын
Will a CPP file containing will work or not please tell :(
@MrAboutTech4 жыл бұрын
I haven't tried that
@surajbhagat8783 жыл бұрын
when i Run program .....it ask me for select environment and giving me 3 option.
@vikaskumar70193 жыл бұрын
Videos to maine bahut saare dekhe but problem meri yahi aakr solve hue So thank you so much bro .
@alertadegambiarra3 жыл бұрын
thanks it worked, but i cant debug the code, any help for this issue?
@Sk8erMorris3 жыл бұрын
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.
@MrAboutTech3 жыл бұрын
Install code runner extension
@Sk8erMorris3 жыл бұрын
@@MrAboutTech thank you much Sir, it was that and it works now
@MrAboutTech3 жыл бұрын
Good to hear that
@Wwise_sounds3 жыл бұрын
Thanks it works. quick question: how do I make VS code accept my input?
@MrAboutTech3 жыл бұрын
Good to know that. quick answer: kzbin.info/www/bejne/iZqbo4Frf5dnb68
@serginho123ify4 жыл бұрын
Thank you so much, man! It helped me a lot... simple and objective... Congrats from Brazil!
@wmprogrammingskills31704 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@poonamkaur71103 жыл бұрын
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
@MrAboutTech3 жыл бұрын
Run vscode as administrator
@JuanRodriguez-fk2iy4 жыл бұрын
How do you run a program. I am right clicking on the code but "Run" is not in the options
@MrAboutTech4 жыл бұрын
Install code runner extension and then try
@wisnupramoedya4 жыл бұрын
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.
@MrAboutTech4 жыл бұрын
Have you installed code runner extension?
@wisnupramoedya4 жыл бұрын
Oh, okay thank you. It is worked :v
@rozarigamer90506 ай бұрын
Bro i watched so many videos but by your way i run my code thank you bhai❤
@juliuscoronado54724 жыл бұрын
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'"
@kavinsangamesh89534 жыл бұрын
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
@tharinduweerasinghe26644 жыл бұрын
Thanks for the video bro. Extremely helpful. Might I ask what is the color scheme you are using on VSCode? Looks cool!
@MrAboutTech4 жыл бұрын
I'm using material theme extension and in that palenight high contrast
@tharinduweerasinghe26644 жыл бұрын
@@MrAboutTech Thanks! Gotta try that :D
@akshayr40833 жыл бұрын
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 ?
@chawpink954 жыл бұрын
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??
@MrAboutTech4 жыл бұрын
Install code runner extension and then try
@movievideo16952 жыл бұрын
Can u help me I can download the Mingw 64 i got zip file , what I can do next process
@muhammadfaizanasghar773 жыл бұрын
I hope you get success man. A really helpful and to the point videos.
@kbcbala3 жыл бұрын
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.
@zamiamaan96984 жыл бұрын
Only your tutorial worked in my pc Thanks a lot 😊
@nishuvidyarthi77704 жыл бұрын
I tried all the steps until setting the path in my environment settings! But i still have that gcc error. Any idea why??
@MrAboutTech4 жыл бұрын
After installation you should not have the error. Is the path set properly? To check run gcc -v in cmd
@MrAboutTech4 жыл бұрын
You should get the gcc version after running it. If not then it is not set properly.
@prabalranjangoswami17504 жыл бұрын
how are you running it ? tell us the button? just the right click is not working.
@MrAboutTech4 жыл бұрын
Download code runner extension
@harshparadkar4 жыл бұрын
The only video I found helpful on running cpp on vscode. Thanks man!!
@gaBehcuoDsuoitneterP11 күн бұрын
Which monospace?
@shreebharath6434 жыл бұрын
It works..but i have an error regarding of outpit section please help me out
@MrAboutTech4 жыл бұрын
What error are you having?
@logan3448 Жыл бұрын
why not complie by gcc sample.c and then run by ./a.exe ?
@AbhishekKumar-xt7wu3 жыл бұрын
still not working "IntelliSense mode msvc-x64 is incompatible with compiler path." always show this message when i try please help.
@MrAboutTech3 жыл бұрын
What extension have you installed?
@AbhishekKumar-xt7wu3 жыл бұрын
@@MrAboutTech c/c++
@ramareddy71474 жыл бұрын
after one try it is not working please i did exactly the same help
@hhc15014 жыл бұрын
why don't I have the run button on the top-right corner for c/c++ files? (Python files are OK.)
@MrAboutTech4 жыл бұрын
Have you downloaded code runner extension?
@ranishetty67633 жыл бұрын
I couldn't run d programs.. I'm getting the errors as "access denied" How do i fix diz now??
@MrAboutTech3 жыл бұрын
Run vscode as administrator and then try
@niel81154 жыл бұрын
there is showing no "run code" option on right click, how to fix it?
@MrAboutTech4 жыл бұрын
Download code runner extension
@chadrackkyungu21674 жыл бұрын
[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
@blueeyeswhiteguy33994 жыл бұрын
Thank ya man, the last 2 videos I watched didn't help me but yours did
@wmprogrammingskills31704 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@nishanthmurugan55024 жыл бұрын
Is there is separate minggw for 32 bit and 64 bit
@mthokozisikhumalo15404 жыл бұрын
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
@MrAboutTech4 жыл бұрын
Install code runner extension and then you will be able to run your code
@geogaddi843 жыл бұрын
when I opened the Min GW file, I don't see any exe types. What'd i do wrong?
@MrAboutTech3 жыл бұрын
I have made all the file extensions visible. You can do it too.
@Lyjacxz4 жыл бұрын
the environment variable is different in windows 8.1 what should i do ?
@MrAboutTech4 жыл бұрын
Refer to this www.computerhope.com/issues/ch000549.htm
@muhammadthabsheer62924 жыл бұрын
Download progress got stuck at 69%. Network is fine. What would be the issue?
@MrAboutTech4 жыл бұрын
Should be the network. Can't think of anything else.
@Aryan-ji2nk3 жыл бұрын
Hey can you help me bro the file (g++) you showed for installation , im not able to click on it for installation
@MrAboutTech3 жыл бұрын
So click or right-click, nothing is working? Try reinstalling MinGW.
@Aryan-ji2nk3 жыл бұрын
@@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
@chinmaysabnis87004 жыл бұрын
Literally I saw thousands of vidio for this error but not a single one worked. But when I saw your vidio and mystry solve
@polycoder2 жыл бұрын
it gives miDebuggerPath does not exist C:\ gdb.exe error
@iBhopable4 жыл бұрын
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 :)
@wmprogrammingskills31704 жыл бұрын
kzbin.info/www/bejne/Z5_HZWCAaLyIg80
@rupalisharma26743 жыл бұрын
I am not able to do this.....jo first show kiya vhi ho rha h .....
@DavidsGameplayMC4 жыл бұрын
I don't have a run code option when I right click.
@MrAboutTech4 жыл бұрын
Install code runner extension and then try
@sureshkumar-uq1dz4 жыл бұрын
i am getting error when insert #include . the error is vckpg
@MrAboutTech4 жыл бұрын
Drop the .h and just try stdio
@TwstedTV4 жыл бұрын
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.
@wizardgaming32352 жыл бұрын
i am not able to do this when i download mingw file , nothing like setup 3:31 is coming pls help me🥵🥵
@Realswagoverlord4 жыл бұрын
Thank you :). Your video is very simple and the only tutorial that worked for me.
@Confeesorr2 жыл бұрын
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.
@adflyadfly41374 жыл бұрын
I follow as you say but now it says some include problem can you fix it
@MrAboutTech4 жыл бұрын
Can you send me a screenshot of the whole error message? Email me at mrabouttech@gmail.com
@swasthikl.k23124 жыл бұрын
it is coming code cannot run or define plss help me
@niccolio9034 жыл бұрын
Thank you! It was no problem to follow along with you.
@rathkl56574 жыл бұрын
In bin file I have only g++, gcc but no .exe why?
@MrAboutTech4 жыл бұрын
So which extension do those files have?
@anshultiwari98474 жыл бұрын
what can i run c and python program in back to back in vs code
@MrAboutTech4 жыл бұрын
Download code runner extension
@yeasinhossainstudent89294 жыл бұрын
thanks a lot. I successfully setup by your instructions. Waiting for your next upload. Thank you again.
@Itz__black99884 жыл бұрын
I don't get running options after doing all things
@MrAboutTech4 жыл бұрын
Install code runner extension
@Itz__black99884 жыл бұрын
@@MrAboutTech ok sir
@aniketkolte89584 жыл бұрын
THANKS brother very much EFFICIENT solution , explained Easily!!!!😊👍
@ericnam16704 жыл бұрын
I did all the steps that you did, but I still can't run the basic program like hello world
@MrAboutTech4 жыл бұрын
Is there any error that you are getting?
@AnshuKumar-sj7cn4 жыл бұрын
i am not able to find gcc.exe file plzz someone help me out
@helinchooi67414 жыл бұрын
Hi, may I know the version of the compiler? It is GNU C++ 17 OR C++ 14?
@jinayshah70883 жыл бұрын
is this compulsory to install mingw or is there any other way to run c/c++ code in vs code?
@MrAboutTech3 жыл бұрын
Mingw will install the gcc and g++ compilers which you need to compile and run a c and c++ program
@jinayshah70883 жыл бұрын
@@MrAboutTech is there any other way other than this?
@surajkumarmohanty49763 жыл бұрын
I did the same as you did but only c program run....not the c++one
@MrAboutTech3 жыл бұрын
What error are you getting there?
@Jarrod_C4 жыл бұрын
i dont even have the play button on the right top side, how do i get it to show up?
@MrAboutTech4 жыл бұрын
Download code runner extension
@Jarrod_C4 жыл бұрын
@@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_C4 жыл бұрын
@@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?
@MrAboutTech4 жыл бұрын
No. You will not be able to do it with F keys
@MrAboutTech4 жыл бұрын
And I guess for python you must have already install any extensions or maybe vscode supports it out of the box.
@codewithshreyash1624 жыл бұрын
Which software you are using to record
@MrAboutTech4 жыл бұрын
I'm using camtasia studio
@codewithshreyash1624 жыл бұрын
@@MrAboutTech it is free
@AG-ef5tz4 жыл бұрын
there is no option for me like run code on right click
@MrAboutTech4 жыл бұрын
Install code runner extension.
@jensenex92704 жыл бұрын
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 !
@MrAboutTech4 жыл бұрын
Yah email me. No problem mrabouttech@gmail.com
@jensenex92704 жыл бұрын
@@MrAboutTech I've emailed you, thank you !
@pavanbmpavanbm66043 жыл бұрын
Thanks a lot, I was struggling to fix the issue, now resolved
@aishkalyan11-4 жыл бұрын
Sir I didn't have. Exe file in my folder..pls help me
@MrAboutTech4 жыл бұрын
Try reinstalling
@rohannirwan98684 жыл бұрын
How to run a c program using command Line argument in vs code ?
@MrAboutTech4 жыл бұрын
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/
@jithendragunuru4 жыл бұрын
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.
@MrAboutTech4 жыл бұрын
Have you set the path properly?
@tutsprograms85173 жыл бұрын
Thanks Bro it really helped me, i was strugling for that.
@smritisingh78894 жыл бұрын
4:08 pe jo continue aana chahiye...wo nhi aa rha...what shud i do?
@aryansrivastav5343 жыл бұрын
Minimalist is not working for my laptop
@hiddenthings48204 жыл бұрын
@Mr About Tech run code option is not showing. After right-click on it.
@MrAboutTech4 жыл бұрын
Have u installed the extension for doing that?
@MrAboutTech4 жыл бұрын
Search for code runner extension, install it and restart your vs code
@kirta29105 жыл бұрын
Thaks you a lot, no one upload videos for compile on C, only c++, and you help me to do that.
@kenji88413 жыл бұрын
It said error: expected unqualified-id before '{' token