After 2 days of so many different tutorials this one was the one that worked with no errors or anything of the sort, thanks man I appreciate your work here
After hours of getting weird compiler related errors I uninstalled everythig and started from scratch with this tutorial and now it works. Thank you very much!
Thanks so much pro i was suffering because none of any tutorials on the internet is working for me but your tutorial is the only one working and you are straight to the point and making it easy thank you so much bro
I saw tons of videos to run c++ but the only problem is the includepath everytime it shows a error to update your includepath.so please make a video .how to update includepath😢😢
Bhaiya i had a problem while running the program it says Program 'a.exe' failed to run: unknown errror (0×fffffffe) At line:1 char:1 +Category info : resourcesUnvailable: (:) [ ], Application failed exception . Everything point in your video i follow very carefully still i got this i am trying to run my first freaking program from the past 5 days with errors
For me when i was downloading c/c++ extensions in vs code it says download did not complete check the log and try to download manually.not only c/c++ but i am not able to install any extension in my vs code
I am getting an error in output It is showing unable to resolve configuration with compilerpath "C:\users\HP\Desktop\VSCode-win-x64-1.82.2\c++ ame.cpp". Using "C: \MinGW\bin\gcc.exe" instead.
hi thanks for the video, After downloading everything i try to compile the code, but i keep getting this error after the command ./a: Program 'a.exe' failed to run: Unknown error (0xfffffffe)At line:1 char:1 + ./a + ~~~. At line:1 char:1 + ./a + ~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed may i knwo how to solve this issue. Also when i downloaded i have this "task.json" that keeps poping up. Do I have to do anything about it? Thanks in advance
mate i’ve problems on applying changes on those mingw, i already checkedlist everything exc fortrun, and when i applied the programs just running without finished until there’s some eror notification popped up. i also installed it on D Files. can you help me mate please? Thankyou
Bro i am getting /a.out file operation isnt completed because the file contains virus and my anti virus software(mcafree) giving notification stopped a virus
what to do if vscode come out this "'g++' is not recognized as an internal or external command, operable program or batch file." in the terminal when type g++ (program name)
okok it solved after i click the g++ at the search bar on the top (idk what it said what build) after all i made it it run successful ,thanks bro you have the easiest and straights froward tutorial
And there is one more problem in the terminal process it is coming up like a notification at the bottom right showing "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe "terminated with exit code: 2.
@@unitedtoptech6288 later finds out it generates by crt+s then run cod but every time after writing code i need to do save it then run code to display new code why is it though
@@unitedtoptech6288 I was able to get it to work. I have no idea how, but it works, so I won't disturb it. Can you help me out now? I want to run a regular C++ code, and it's running, but when I want to run a code that deals with me taking inputs, when I want to take the inputs, it hangs, and when I want to re-run, it tells me "code is already running", but then I can't take inputs. What could be the problem?
@unitedtoptech6288 you know ,in that part, which you enter ./a and then program executes when I do it, it shows this error: ./a : The term './a' is not recognized as the name of cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char 1 + ./a + ~~~ + CategoryInfo :Object not found: (./a:string) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException 🤦🏻♂️😑
After hours of getting weird compiler related errors I uninstalled everythig and started from scratch with this tutorial and now it works. Thank you very much!
After 2 days of so many different tutorials this one was the one that worked with no errors or anything of the sort, thanks man I appreciate your work here
Glad it helped!! Welcome
After hours of getting weird compiler related errors I uninstalled everythig and started from scratch with this tutorial and now it works. Thank you very much!
Great to hear! Welcome
how do you delete stuff???
Which stuff?
@@kenken505 search in you tube itself how to delete mingw fully
you can just go to control panel then programs in it and right click mingw and uninstall
Thanks so much pro i was suffering because none of any tutorials on the internet is working for me but your tutorial is the only one working and you are straight to the point and making it easy thank you so much bro
wow!! Glad it worked ! welcome
Thank you! The first tutorial after which I actually didn't receive compiler errors and managed to run the C++ code successfully.
Glad it helped! welcome
First guide that worked for me, thank you a lot!!! Saving my life for CS class
Glad to know it !! welcome !!
thank for this much helpful video
With ur help i am able to run my first c++ program 😇😇
All the best!! Welcome
I was searched about it a lot of times, I wasted lot of times but you shown amazing way , congratulations
Thanks a lot 😊
Straight to the point and clear! Your tutorial was so much more helpful than all the other articles I tried following. Thank you so much!
Glad it was useful! Welcome
Very veey helpful sir, finally got my first program output thanks to you
All the best sir!! Thanks
After 4 hours I finally found a solution that works! thanks!
You are welcome!
Thank you so much am struggling to download like this from an whole week.. Thanks a lot buddy
Happy to help bro
I saw tons of videos to run c++ but the only problem is the includepath everytime it shows a error to update your includepath.so please make a video .how to update includepath😢😢
I didn't get that error when I did this but I have already done a video on that
this video was so good now c++ is working for me
glad it helped
Ty, works perfectly. I thought it was some problem in VScode
Cool, thanks
Thank you so much, it is the best video with good explanation
Glad it was helpful!
Bhaiya i had a problem while running the program it says
Program 'a.exe' failed to run: unknown errror (0×fffffffe) At line:1 char:1
+Category info : resourcesUnvailable: (:) [ ], Application failed exception .
Everything point in your video i follow very carefully still i got this i am trying to run my first freaking program from the past 5 days with errors
do you have antivirus on? try turning it off and run the program
Thankyou
You’re welcome 😊
really thanx I can't believe
it's working !!
Most welcome
Greatest video on this topic i have ever seen❤
Wow, thank you!
thank you so much tomorrow is my submission n i have run dsa code in c++
Best of luck for that!
❤thank you bhai mai 3,4 din se preshan tha isko lekar
Glad bro!!
Best ever tutorial ❤
Glad you liked it :))
Thank you for precise tutorial bro!
Happy to help
Extremely helpful and informative video. Thank you very much
Glad it was helpful!
Thanks dude, your explanations are great
Glad you think so! Welcome
Excellent..!
Thank you! Cheers!
that first "Hi" caught me off guards.. sheesh xD.. Great job though
Thanks 😅
Thankyou this tutorial is very helpful and easy 👍🏻♥️
Glad it was helpful!
Its simple and clear, Thank you very much!!!
Welcome
Im rlly thankfull 4 ur video
Welcome
For me when i was downloading c/c++ extensions in vs code it says download did not complete check the log and try to download manually.not only c/c++ but i am not able to install any extension in my vs code
Are you using vpn? try updating your vs code
thank you for keeping it simple
Glad it helped
So much helpful, was getting lot of compiler errors
Glad it worked
Very helpful,
Glad you think so!
Best tutorial!!!
tysm
On that command promt
Which folder path are we looking for? (Got error)
Can you paste the whole error?
Thankyou so much sir 😊😊 it's working 👍👍👍
Welcome 👍
One thing I have to say i tried so many times but I can't make it possible after watching your video in first try it is done.
Glad u like it!
finally i have done the insulation :>> thank you bro :3
Welcome!!
You're the goat, thank you!
Happy to help!
I am getting an error in output
It is showing unable to resolve configuration with compilerpath "C:\users\HP\Desktop\VSCode-win-x64-1.82.2\c++
ame.cpp". Using "C: \MinGW\bin\gcc.exe" instead.
u need to use g++ to compile c++ not gcc
Pls sir make a video for c language 😢
I have already done it
Well explained
Thank you
first code ran but when i turn off the vs code then turn on again it doesnt run. what sould i do help pls
What error are you getting?
thanks you sir.
Most welcome
Thank you so much sir
Most welcome
thanks man..✌ you are real life saver:)
Welcome 👍
on point
thanks
Finally got C++ up and running now, took almost 2 days LOL !!
Cool good luck!!
A Big Thanks!
You're welcome!
Thank you broski
Welcome
hi thanks for the video,
After downloading everything i try to compile the code, but i keep getting this error after the command ./a:
Program 'a.exe' failed to run: Unknown error
(0xfffffffe)At line:1 char:1
+ ./a
+ ~~~.
At line:1 char:1
+ ./a
+ ~~~
+ CategoryInfo : ResourceUnavailable:
(:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
may i knwo how to solve this issue. Also when i downloaded i have this "task.json" that keeps poping up. Do I have to do anything about it? Thanks in advance
Can you try running using code runner extension?
@@unitedtoptech6288 I am also having problem in it and it is not running even with code runner.
Do you get any error when running with code runner?
Thank you
You're welcome
Thank you Very much
Welcome!!
thanks a lot bro ❤
Welcome 😊
mate i’ve problems on applying changes on those mingw, i already checkedlist everything exc fortrun, and when i applied the programs just running without finished until there’s some eror notification popped up. i also installed it on D Files. can you help me mate please? Thankyou
can you check the path where mingw is installed ? if not try reinstalling it once again
When I type g++ filename.cpp it is showing 'g++.exe: error: CreateProcess: No such file or directory' what is the mistake might be??
check if you are inside the right path in command prompt like that path should have the folder name in which your c++ file must be there
thank you very much😊
You're welcome 😊
thanks for the help
Happy to help
Thank you so much!
Glad it helped!
Thank you soooo much❤️❤️❤️❤️❤️
Welcome!!
thank you very much
You are welcome
Bro i am getting /a.out file operation isnt completed because the file contains virus and my anti virus software(mcafree) giving notification stopped a virus
I guess you have some antivirus turned on, try turning it off and run
@questforknowledge4887 did it work for u by turning anti-virus off?
Yes bro !!
Thank you for this
My pleasure!
I downloaded mingw from source forge as you said but then instead of exe, zip file got downloaded, now what can i do?
Try extracting it and is there an exe file?
what to do if vscode come out this
"'g++' is not recognized as an internal or external command,
operable program or batch file."
in the terminal when type g++ (program name)
okok it solved after i click the g++ at the search bar on the top (idk what it said what build)
after all i made it it run successful ,thanks bro you have the easiest and straights froward tutorial
glad it worked!! Welcome
when i run it says this
cl.exe build and debug is only usable when VS Code is run from the Developer Command Prompt for VS.
did you run using command or extension?
I pressed on the run c/c++ file
after installing the extensions in the video exactly like you@@unitedtoptech6288
I guess you are running debug , can you check if you have any drop down near run button? else try running with command
Sir I have a problem
It's showing program " a.exe " failed to run: unknown error (0xfffffffe) at line 1 char 1
And more, what should I do please help
Do you have any anti virus on? also please check your code
@@unitedtoptech6288 yes it is on
Try running after turning it off
@@unitedtoptech6288It worked thank you sir
welcome sir!!
it's showing me this when i run the code :- (The system cannot execute the specified program)
Can you please paste the full error?
My error said undefined reference to 'winmain@16 plss help me sos
Do you have main function in code?
Tysm man❤
cool man
Thank you
welcome
Thanku it worked😀
Welcome 😊
And there is one more problem in the terminal process it is coming up like a notification at the bottom right showing
"C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
"terminated with exit code: 2.
when do you get this error?
@@unitedtoptech6288 when I am running the program in my terminal
Try running with code runner that play button thing
Tysm sir ❤️
welcome sir
The download of minGW won't start i dunno what's the problem
Are you using VPN?
Bro when i run the code it is saying that. In red . “Your file has two problem”
Can you paste the exact same error?
@@unitedtoptech6288. Bro it is saying. No such a file oe directory
Check the path in terminal, use cd command
I'm getting g++ is not recognised as an internal or external command what to do plss help me sir
Did you add compiler path in environment variable?
yes i did it@@unitedtoptech6288
So is it working now?
no its not what should i do any solution
@@unitedtoptech6288
Try checking the path that you have added or try running using code runner extension way
bro how to download other pakages like GTK and others??
what is gtk?
thanks its works
cool
Bro after writing g++ newpro.cpp a.exe file didn't generate please helppppp
Do you get any errors?
@@unitedtoptech6288 later finds out it generates by crt+s then run cod but every time after writing code i need to do save it then run code to display new code why is it though
So that the new code gets updated and it recompiles the new changes
Yunterrrr
😂😂😂😂😂😂👍👍👍👍
wdym?
Program 'test.exe' failed to run: Access is deniedAt line:1 char:68
+ ... \Coding\C++\" ; if ($?) { g++ test.cpp -o test } ; if ($?) { .\test }
+ ~~~~~~.
At line:1 char:68
+ ... \Coding\C++\" ; if ($?) { g++ test.cpp -o test } ; if ($?) { .\test }
+ ~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
try changing the filename or check if you have anti virus on, turn it off
I wish this was the first tutorial i watched before setting up. But, i have a problem, at 9:09 it keeps telling me that "g++" is not recognized
Can you please check if you have added the correct path in environment variable?
Yes.
I did that
In the terminal, it's saying "undefined reference to 'WinMain@16'"
"collect2.exe: error: Id returned 1 exit status
go to settings , search for code runner save all files before run , check it and restart vscode and try running it
@@unitedtoptech6288 I was able to get it to work.
I have no idea how, but it works, so I won't disturb it.
Can you help me out now?
I want to run a regular C++ code, and it's running, but when I want to run a code that deals with me taking inputs, when I want to take the inputs, it hangs, and when I want to re-run, it tells me "code is already running", but then I can't take inputs. What could be the problem?
Thanks man
You're welcome!
i got this error, how to solve : cd "d:\C programs\" && g++ test.cpp -o test && "d:\C programs\"test
bash: cd: too many arguments
When are you getting this error?
@@unitedtoptech6288 when i click on run button
Check if you are running it in debug mode or run using command
@@unitedtoptech6288 ok
is it working now?
tnx bro😇
Welcome bro!
When I run the code I get the error as cout was not declared in this scope.Can you please explain why
Did you add using name space std?
Yes I used the same code
Can you paste that code here?
im getting errors for the #include
Can you paste the full error here?
When i enter the g++ programname.cpp it says error: ID returned 1 exit status
Do you get any errors when you are running with code runner extension?
@@unitedtoptech6288 it's alright now, it's just I keep debugging before running the code so that it saves before I run the code
ohh glad it worked!! who is the kpop idol on your profile pic?
I did every thing the same as you did but when i run my code it says:
[Done] exit with code=1😑
Restart vscode, save your file and run it again
@unitedtoptech6288 i deleted everything and did the whole process again, but I get the same result🥲
@unitedtoptech6288 you know ,in that part, which you enter ./a and then program executes
when I do it, it shows this error: ./a : The term './a' is not recognized as the name of cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char 1
+ ./a
+ ~~~
+ CategoryInfo :Object not found: (./a:string) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
🤦🏻♂️😑
Can you use code runner extension? you won't face any errors
goat
Ronaldo is
Hey bro i get a error in cmd promt like (g++ is not recognised as an internal or external command , operable program or batch file)
Check if you have added the right path of mingw in environment variable
I am also having same problem.Please help me in how to solve this issue,if you solved then please explain the process
You need to add the env variable path? It worked for me I did the same
undefined reference to WinMain@16.
what a solution?
Go to settings and search for code runner save and check it and restart and run vscode
@@unitedtoptech6288 thx , problem solved.
Cool
how to change the path
of what? env variable?
Why the Downloading package takes a long time🫤
no idea bro
I have done the insulation..
Thank you bro ❤
But i am getting error in output and undefined reference in terminal
Welcome
i am getting error after writing ./a
try running using code runner extension
@@unitedtoptech6288same error not even running in runner
3:22 my laptop showing only 5 option
how to fix it?
can you paste the whole error?
sir it is showing ur code has virus
Turn off anti virus if it is on
The best 🫡
you are too!!
After hours of getting weird compiler related errors I uninstalled everythig and started from scratch with this tutorial and now it works. Thank you very much!
Glad it helped