Hello mister, I am very proud of your tutor. I am a student studying informatics and I was given an assignment to code C++. It's been a week and I've been getting errors.❤
I follow everystep one by one and whem finished the helloWorld last 5 to 10 seconds to run, any advice. I try in visual estudio 2022 and happen the same.
If it doesn't work once you ran vs code, make sure you added the correct path to your system environment variables. The default should be C:\msys64\ucrt64\bin
Really need help, my visual code says "cannot build and debug because the active file is not a c or c++ source" I made a .c and a .cpp file, both don't work
@@jagratitripathi1861 i forgot how but i download some extensions from microsoft for running, compiling, and debugging, as well as some color coded lines lol. I managed to use it when i save the file and THEN build it
Hi! I'm sorry for using this space asking you this, but my Hello World took 10+ seconds to compile and run. Awkward, right? Already reinstall the MSYS2, use the g++ instead of the gcc on c_cpp_properties.json but nothing worked. Maybe if I could compile and run the same Hello World program on another IDE, to see if this is a VScode problem, but idk how to do it. Can you help me, pls? Thank you!
I assume you have selected something else while selecting for run and debug, search for tasks.json file, then delete everything inside outermost parenthesis, now save the file, this deletes all the saved settings, Now you can again click on run button in your active window, when asked for a selection select C/C++: g++.exe option. Now it will work as expected.
Completed everything as described, but get error message when I try to run a program. So frustrating. I think I'll abandon C with curses and stick with Python.
If that didnt work try this : th-cam.com/video/KnPj8Ow3bM8/w-d-xo.html
guys anyone had a problem with entering y. just click enter before it to accept and then you can write y and it will download everything
life saving comment
@@Ak_lifts20 Np!
Thanks a lot
Life saver❤❤❤
Thanks a lot man❤
really helpfull video, after following each step one by one my c++ setup is completed in vs code. thankyou for making such informative video
Hello mister, I am very proud of your tutor. I am a student studying informatics and I was given an assignment to code C++. It's been a week and I've been getting errors.❤
Glad it worked for you guys, mine is not...
thanku so much sir is video is slove my problem i watch multiple videos to slove my problem but this one slove is amazing u r great person sir
This is something I have tried several times but I still can't do it
I am having an error when I run it . The error is "g++: error: Downloads\programcodes\programTEST: No such file or directory
"
I follow everystep one by one and whem finished the helloWorld last 5 to 10 seconds to run, any advice. I try in visual estudio 2022 and happen the same.
If it doesn't work once you ran vs code, make sure you added the correct path to your system environment variables. The default should be C:\msys64\ucrt64\bin
Ya that was the exact probleem i faced thanks sir for making me overcome over it
can't belive I wasted my time seeing the last year guide... oh god, thanks
Is it possible to upgrade to updated C and C++ versions of MSYS?
Really need help, my visual code says "cannot build and debug because the active file is not a c or c++ source"
I made a .c and a .cpp file, both don't work
Same here did you get any help
@@jagratitripathi1861 i forgot how but i download some extensions from microsoft for running, compiling, and debugging, as well as some color coded lines lol.
I managed to use it when i save the file and THEN build it
try to remove space from "a .c" to make it "a.c"
are these safe to download and use?
The "Edit Environment Variable" window aren't the same as that one when I clicked on "Path."
Same here
does it work for those who sve their code in a usb flash drive ?
Straight to the point! Ty so much
But off topic but, anyone knows the VS Code theme he's using? 3:34
Hi! I'm sorry for using this space asking you this, but my Hello World took 10+ seconds to compile and run. Awkward, right? Already reinstall the MSYS2, use the g++ instead of the gcc on c_cpp_properties.json but nothing worked. Maybe if I could compile and run the same Hello World program on another IDE, to see if this is a VScode problem, but idk how to do it. Can you help me, pls? Thank you!
my vs code takes 6.2 second to print hello world
bro after inputing y command it is showing same thing ....i.e Enter a selection (default=all): what to do ?
Same
Press enter
just wanted to clarify, why is microsoft c/c++ has only c++? what extension is for c only?
newbie here
c and c++ are the same, c++ just uses classes and objects where c does not
Because c is a subset of c++ so we will be able to access features of both languages with c++
because c++ is c with oop
Thankyou so much sir✨
You are a life saver! Thank you 🎉
can i install this on another drive of my laptop?
i now get the error
"the prelaunch task 'C/C++:gcc.exe build active file' terminated with exit code -1."
what to do ?
Yo same. Idfk what to do tho
Same problem here...
Select use g++, not gcc, when you're debugging
I assume you have selected something else while selecting for run and debug, search for tasks.json file, then delete everything inside outermost parenthesis, now save the file, this deletes all the saved settings,
Now you can again click on run button in your active window, when asked for a selection select C/C++: g++.exe option. Now it will work as expected.
Completed everything as described, but get error message when I try to run a program. So frustrating. I think I'll abandon C with curses and stick with Python.
Thnx a lot.......it was so annoying ❤
Worked to a tee. Thank You
anyone know how to fix Launch:program "Path" Does not exist error?
@@sed-6 you are probably running a file with wrong extention
The link isn't downloading for me
Thanks its working ❤
bash command not found
no. 6 step it's not working when I put y..it's invalid 😥i can't proceed to the next step😥😥
enter and y
TYSM!🎉🎉🎉🎉🎉🎉🎉🎉🎉
Error: failed retrieving file
Did it work? For you? I have the same problem
can i delete msys2 afterwards??
yes
the terminal looks ugly but at least its finally working i was bout to kms
Awsome thank you so much
great video thanks
Thank you soooo much❤
thanks for the help
i do not understand why they made it that complicated
didn't work for me :
Thanks ❤
thank you man.
it keeps showing a fucking annoying ass G++ error its annoying as hell.
hey same me too
did you find out any solution for this?
i gave up and went to visual studio instead of code
thankyou!
thanks a lot
thanks
Yeeeeea, that didnt work
best
Fake
Thank youuu