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.
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
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
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 : ruclips.net/video/KnPj8Ow3bM8/видео.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
@@castyjames9301 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.❤
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
"
Glad it worked for you guys, mine is not...
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.
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
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"
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
But off topic but, anyone knows the VS Code theme he's using? 3:34
does it work for those who sve their code in a usb flash drive ?
are these safe to download and use?
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
bro after inputing y command it is showing same thing ....i.e Enter a selection (default=all): what to do ?
Same
Press enter
The "Edit Environment Variable" window aren't the same as that one when I clicked on "Path."
Same here
can i install this on another drive of my laptop?
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
Ya that was the exact probleem i faced thanks sir for making me overcome over it
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.
can't belive I wasted my time seeing the last year guide... oh god, thanks
anyone know how to fix Launch:program "Path" Does not exist error?
@@zenovcozru6153 you are probably running a file with wrong extention
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.
Worked to a tee. Thank You
The link isn't downloading for me
Straight to the point! Ty so much
bash command not found
Thanks its working ❤
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
Thankyou so much sir✨
can i delete msys2 afterwards??
yes
You are a life saver! Thank you 🎉
Thnx a lot.......it was so annoying ❤
Error: failed retrieving file
Did it work? For you? I have the same problem
TYSM!🎉🎉🎉🎉🎉🎉🎉🎉🎉
Awsome thank you so much
Thank you soooo much❤
thanks for the help
Thanks ❤
great video thanks
i do not understand why they made it that complicated
thank you man.
didn't work for me :
the terminal looks ugly but at least its finally working i was bout to kms
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
thanks
thankyou!
thanks a lot
best
Yeeeeea, that didnt work
Fake
Thank youuu