#4 gcc.exe: error: No such file or directory

preview_player
Показать описание
In this video I am going to solve an error which people generally face during the execution of c program in vs code .
This problem mainly occurs when your code file is in some other folder and you are trying to compile it from any other folder.
So, to solve this error you have to change your folder by using "cd" command.
Then your code will compile fine!

How to Run C and C++ Program In VS Code:

Auto Save Feature in VS Code:

Problem in VS Code: Could not find or load main class ...ClassNotFoundException in java:

Youtube: visit

contact
Рекомендации по теме
Комментарии
Автор

If you are facing any problem regarding this then let me know in comment below

techwithsaket
Автор

Great info brother but do ww have to do it everytime with new program?

usamanawaz
Автор

Bro it didn't fix it for me I watched every single video I could but still, says the same thing
And when I type .\main.exe after doing the things u said it says :"File not recognised as name of a cmdlet, function etc"

MD_aska
Автор

thx brother
this was getting me frustrated and now solved thx one another time

atulyakharotia
Автор

Thank you so much brother. I was so confused for like 15 mins

ankitpaul
Автор

Bhai kasam se kaii dino tak logo na pagal bana
daily for hours thik karne ki kossis ki uninstall kar download bhi kiya
Basss tereko jitna thanks bolu kam hai. But still thanks a lot brother.

arvinlohchab
Автор

bhai thankyou bohot video dekhe par kaha par bhi solution nahi mila raha tha error ka aap bhagwan ho thanks sir bohot bohot thankyou ;)😭😭😭😭

kunalshelar
Автор

thanks bhai pta ni aur log kya hi gyan de rhe the, your were straight foward. Thanks a lot \

harshkumarsharma
Автор

after 10 videos and 1 hour finally solved thank you sir

adiityadwivedi
Автор

Thank you so much sir. I was facing this problem since 2 months your video helped me a lot thaank you soooo much.

irisevergarden
Автор

Thank you brother from bottom of my heart <3❤.

Sajahir
Автор

hey sir thanks for the video. the problem is that everything is correct (name of the files, folders path) but still vs code gives me that error.What can i do? thank you

paololigori
Автор

Thanks bhai, thanks a lot.I am wandering from five days but you solve my problem

ajiteshpratap
Автор

My .exe file is not automatically created, as in here, please help

arunkumarchattopadhyay
Автор

bro if we want to go back to tutorial file what should we do ?

lionproduction
Автор

when i right clicked it doesn't show any "open with code" option. pls help

laiteish
Автор

thanks bhai i am getting this problem from 4 days

shouryaagarwal
Автор

😭😭😭😭thanku sirji bahut bahut sukriya ye problem 1 mahine se pareshan kar rahi thi

rudraparmarthi
Автор

thanks, your a very good explainer. ❣

aloneff
Автор

thank u sir this video is very helpfull for all 1st user of vs code ...
ham ek file bna kar usme bahut sare program nhi kr skte

pragatitiwari