[Solved] gcc is not recognized as an internal or external command operable program or batch file

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 4,7 тыс.

  • @misbahulhaque1957
    @misbahulhaque1957 3 года назад +93

    How to make it work in VS code terminal? It is still showing the same error in VS Code terminal, but in power shell it has been corrected😔😔

    • @ameykulkarni1742
      @ameykulkarni1742 3 года назад +2

      Same

    • @pranjalmittal1973
      @pranjalmittal1973 2 года назад +21

      paste the directory path in both user variables and system variables and then restart visual studio code. it worked for me

    • @milindpatel3940
      @milindpatel3940 2 года назад +5

      bhai vs code ko restart krna

    • @karanpathania137
      @karanpathania137 2 года назад +1

      Mera bhi nahi ho raha

    • @sonalisatpute9799
      @sonalisatpute9799 2 года назад +2

      @@pranjalmittal1973 thanks buddy ,it worked for me...

  • @deepayanbardhan911
    @deepayanbardhan911 3 года назад +65

    How to make it work in VS code terminal? It is still showing the same error in VS Code terminal, but in power shell it has been corrected.

  • @alameennnn
    @alameennnn Год назад +14

    It worked!!
    For those who are trying to solve this problem, they must check that bin folder contains gcc file or not because in my situation I got two bin folder one is in minGW and another in the minGW32.

  • @ayushtiwari1600
    @ayushtiwari1600 2 года назад +4

    for those to whomerror still exist one master tip -
    GO TO All Apps < MinGW< tick the all gcc files for installation
    why because in my case after doing from this tutorials error was still there so Min GW par dubara gaya waha par dekha ki aur bhi gcc files thi install krne ke liye maine vo sari installation pr laga di after that again bin me jake copy krke paste kiya as shown in video
    AND THIS TIME THERE WAS NO ERROR

    • @Suvendu00
      @Suvendu00 Месяц назад

      thank you very much brother it worked after i install al g++ giles from minGW

  • @kumarutsav23
    @kumarutsav23 2 года назад +160

    Bhaiya gcc.exe naam ki file hi nhi bani mingw install krne ke baad v🙂

  • @amazingworld7650
    @amazingworld7650 3 года назад +97

    please help me how to solve this problem
    gcc: error: first.c: No such file or directory
    gcc: fatal error: no input files
    compilation terminated.

  • @alok2760
    @alok2760 2 года назад +38

    For anyone who has tried the steps mentioned in the video but still unable to fix issue, here I am suggesting some methods which might be helpful.
    1) Make sure the path doesn't contain any white space i.e. blanks. Use underscore if you want to rename source files.
    2) If your 'environment variable' screen doesn't show you "new" button after you click on EDIT, just put a semicolon(;) and then paste the file name in the space provided and click on OK.
    3) If your problem has been solved in cmd prompt but not in VS CODE, try saving your project, then restarting VS Code.
    Hope that helps.

    • @Omegle_chat12
      @Omegle_chat12 Год назад

      Help I m enable to solve this problem

    • @alok2760
      @alok2760 Год назад +1

      @@Omegle_chat12 what's the issue you are facing? What's the message displayed?

    • @Omegle_chat12
      @Omegle_chat12 Год назад

      @@alok2760 bo na jab bhi me ./a.exe or ./a.out likh rahi hu naa to bol raha hai ./a.exe is not recognized as the name of a cmdlet, function, script file or operable program.cheack the spelling of the name,or if a path was included,veryfy that at line 1 char 1

    • @Omegle_chat12
      @Omegle_chat12 Год назад

      @@alok2760 mene path bhi dal diya or code ek tutor ka chap diya par fir bhi error

    • @alok2760
      @alok2760 Год назад

      @@Omegle_chat12 tumne default path ka location change toh nahin kiya tha na Mingw download karte waqt? If yes then dekho ki blank spaces na ho. It won't work if file name is "my programs"." Myprograms" is the correct way.

  • @movietime5007
    @movietime5007 Год назад +47

    Gce.exe j nahi a raha bin me jane ke bad

    • @sujitsharma34
      @sujitsharma34 6 месяцев назад

      Solution Mila bhai

    • @pranavkulkarni4936
      @pranavkulkarni4936 6 месяцев назад +3

      Bhai bin folder empty dikha rha hai kya karu​@@sujitsharma34

    • @sujitsharma34
      @sujitsharma34 6 месяцев назад +1

      @@pranavkulkarni4936 Bhai tumne kiya nhi hoga thik se installation

    • @raohuzaifa6581
      @raohuzaifa6581 6 месяцев назад +3

      Can't find the gcc i am soo stucked

    • @raohuzaifa6581
      @raohuzaifa6581 6 месяцев назад +1

      ​@@pranavkulkarni4936same, koi solution mila ??

  • @sakshibailam2993
    @sakshibailam2993 3 года назад +173

    Sir, There's no gcc.exe in my MinGw folder. please tell me how to fix it

    • @aaradhyarockstar2014
      @aaradhyarockstar2014 3 года назад +12

      same here

    • @amritbr6800
      @amritbr6800 3 года назад +11

      i m getting the same problem

    • @jashhinger442
      @jashhinger442 3 года назад +7

      yaah i am getting the ame problem

    • @aaradhyarockstar2014
      @aaradhyarockstar2014 3 года назад +7

      Please sir tell us what to do.
      Without .exe file we are not able to run our programs.

    • @amritbr6800
      @amritbr6800 3 года назад +4

      @@aaradhyarockstar2014 right now i m using codechef in built IDE untill sir solves our problem 😊✌

  • @gauravchoudhary5916
    @gauravchoudhary5916 3 года назад +21

    'g++' is not recognized as an internal or external command,
    operable program or batch file. this problem is not solved

    • @satyamprajapati3779
      @satyamprajapati3779 3 года назад +1

      When u download MinGW then u have to also select the g++ ...

    • @ther1dragger491
      @ther1dragger491 3 года назад

      @@satyamprajapati3779 can u explain this?

    • @tsbgaming5770
      @tsbgaming5770 3 года назад +2

      Yes same with me problem not solved

    • @sauravkumarlal
      @sauravkumarlal 3 года назад +2

      @@satyamprajapati3779 how did u solve this problem?

    • @rajneeshgurjar438
      @rajneeshgurjar438 2 года назад

      @@sauravkumarlal i also want to know

  • @lo-finights3200
    @lo-finights3200 25 дней назад +1

    PS C:\Users\User> gcc
    gcc : The term 'gcc' is not recognized as the name of a 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
    + gcc
    + ~~~
    + CategoryInfo : ObjectNotFound: (gcc:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    Showing this error after following all steps

  • @monarch3258
    @monarch3258 4 месяца назад +1

    Bro jab debug and run karty hain tab tab wo Kuch options dy raha hai like c\c++ .gcc exe and c\c++ g++.exe and gdb(launch) and windows (launch) waly options dy raha hai.
    Wo samajh NAI a Rai.😢
    Please tell me how to do this

  • @ankushsurana5630
    @ankushsurana5630 4 года назад +80

    Gcc:the term gcc is not recognized as the name of a cmdlet ,function, script file, or operable program.
    Aur bin me gcc ke sath. exe nhi likha aa raha h
    Yeh error aa rahi h

    • @nextgame9439
      @nextgame9439 4 года назад +6

      Mera bhi yai haal hai mera bhi nahi hua bhai help!!

    • @vibhu613
      @vibhu613 4 года назад +2

      Mera bhi yahi hai yaar ...kisi ko malum ho toh bata do please hame bhailog

    • @Dhruv69
      @Dhruv69 4 года назад +1

      Same broo

    • @preetamsaha3150
      @preetamsaha3150 4 года назад +1

      Saaammeeeee

    • @corinneveril.d4412
      @corinneveril.d4412 4 года назад

      Same problem for me!!

  • @riyazahmedpathan3850
    @riyazahmedpathan3850 4 года назад +75

    Ek carry Bhai hai Jo roaster king hai
    Or
    Yanha Harry Bhai hai Jo problem solving Hero 🙏🙏 Shukriya Sir jiii

  • @sayondas2651
    @sayondas2651 Год назад +2

    Bhaiya mera nahi hua. I have set the path, In command prompt it is also showing fetal error but while running a code in the VS code it is telling that " The term "gcc" is not recognised". please help 🙏

  • @2ammooon
    @2ammooon Год назад +1

    ❌❌HELP !😣 ❌❌MERA NAHI HO RAHA SIR ( ERROR - gcc : The term 'gcc' is not recognized as the name of a 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.) YESA ERROR AA RAHA HAI

  • @humaripathshala3593
    @humaripathshala3593 2 года назад +24

    sir, I followed the steps given by you above but still gcc is not running on my command prompt. its showing 'gcc' is not recognized as an internal or external command,
    operable program or batch file. Please help me sir.

    • @yashpatil3598
      @yashpatil3598 2 года назад

      Ye windows powershell ko restart kaise karneka

    • @mikkujin
      @mikkujin 2 года назад

      Han nhi chlra...😠

    • @DanniTheL
      @DanniTheL 2 года назад +2

      I commented this above. If you are still having the issue, make sure to give this a shot as it would not work for me without doing this:
      The path has to be EXACTLY "C:\mingw64\bin". My install had created an additional folder called "msys64" it WILL NOT WORK if the mingw64 folder is not directly on the C drive. You cannot have any extra steps in the file path.

    • @rahulchoudharyj5484
      @rahulchoudharyj5484 2 года назад

      @@DanniTheL did it work?

    • @DanniTheL
      @DanniTheL 2 года назад

      @@rahulchoudharyj5484 yes, moving the files to the C drive before following the above steps fixed my issue.

  • @Mr.RatanBajaj01
    @Mr.RatanBajaj01 3 года назад +22

    gcc.exe: fatal error: no input files compilation terminated. (ya error ya Raha hay Kasa solve kara)

  • @vikramkrchaurasiya4055
    @vikramkrchaurasiya4055 2 года назад +3

    sir please heip me mera nhi ho rha hai

  • @vasuagrawal1771
    @vasuagrawal1771 2 месяца назад +1

    sir mera nhi hua
    when type full C:\MinGW\bin then also file not recognised error aa rha hai

  • @keshavgupta1525
    @keshavgupta1525 5 лет назад +47

    Sir meri toh gcc.exe file hi show nhi ho rhi

    • @vishalsuman4375
      @vishalsuman4375 4 года назад +1

      Same mere sath bhi ho rha hai.

    • @harshitshesh6027
      @harshitshesh6027 4 года назад +2

      Ha yarr bhai sahi

    • @samruddhidhoke9186
      @samruddhidhoke9186 4 года назад

      i think you should refferr this video Install & Configure VS Code With C Compiler: C Tutorial In Hindi #3 inki hi unone achese mention kiya h

    • @asrtech21
      @asrtech21 4 года назад

      Sme here there is no gcc.exe file

    • @asrtech21
      @asrtech21 4 года назад +1

      I installed mingw in my frds computer there it shows gcc.exe but when he that file to me on my my pc it converted into gcc file

  • @zeeshanoffice
    @zeeshanoffice 3 года назад +95

    Hi Harry A lot of people having issues with gcc: I have already added the path into the environment but still getting the same issue. I just believe there must be some sort of bug in the gcc. would you refer to an alternative CodeBlocks etc ?
    gcc: fatal error: no input files
    compilation terminated.
    Man i have spent whole night just fixing this and still unable , taking more time to setup the environment then learning C. please help

  • @prajapatidhavalkumardinesh6806
    @prajapatidhavalkumardinesh6806 2 года назад +1

    Showing this msg : The term 'gcc' is not recognized as the name of a complete, function, script file, or operator program.

  • @Shortswithaham8874
    @Shortswithaham8874 Год назад +2

    When I click the bin it is showing that the folder is empty. What should I do?

  • @austintorai3391
    @austintorai3391 3 года назад +49

    If when you press the button "edit" and your screen isn't as similar as his meaning his path is written in ascending order and if yours is in a single line then all you have to do is add a ' ; ' and then paste the path and you are good to go 👍👍

    • @selfmotivatedaspirant2748
      @selfmotivatedaspirant2748 2 года назад +8

      Yaar kese tumara shukriya kru 😭😭, mene es mingw ke chakar me 3 din kraab kiye, ab es semicolon se sb thik hogya, ptaa nhi kitni video dekhi, but etna chota error nhi mil paa rha tha, thanks bhai😅🙏🙏

    • @nikgshort3974
      @nikgshort3974 2 года назад +1

      thanks vro its very helpful

    • @saumyasinha8055
      @saumyasinha8055 2 года назад +2

      It helped. Thanks

    • @naumanhussain6496
      @naumanhussain6496 2 года назад +2

      Thank you so so so much man

    • @ankitsaini7849
      @ankitsaini7849 2 года назад

      Thank you so much bro 🙏🙏😊.

  • @rajatravi4664
    @rajatravi4664 3 года назад +20

    Gcc not recognized as the name of cmdlet,function,script file,or operable program are bin me gcc ke Sath exe nahi likha aa raha
    Bhai ab is ka solution milgaya hai agar solution chayeto ho toh mujhe is comment par yes likhe bhej do

  • @dreamandstars
    @dreamandstars 7 месяцев назад +1

    Meanwhile in my bin folder there no file with name gcc.exe
    Now what should i do 😭😭

  • @65-secbvidhimangla79
    @65-secbvidhimangla79 2 года назад +2

    Sir mera nahi ho paya 😔😔 please sir help me

  • @gaurav4956
    @gaurav4956 4 года назад +17

    Command prompt me gcc dala ki fatal error no input file ara hai.. visual studio ke app me terminal me gcc dala ki gcc not recognise as internal and external comand aise error ara hai..what to do?

  • @THEKumarVLOGS
    @THEKumarVLOGS 3 года назад +5

    ggc : The term 'ggc' is not recognized as the name of a 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
    + ggc
    + ~~~
    + CategoryInfo : ObjectNotFound: (ggc:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    • @manalidigrase1876
      @manalidigrase1876 2 года назад

      Samee

    • @sunitarani4754
      @sunitarani4754 2 года назад

      Same

    • @vimalpandey932
      @vimalpandey932 2 года назад

      Dicto same problem

    • @amruta632
      @amruta632 2 года назад

      Same problem

    • @vimalpandey932
      @vimalpandey932 2 года назад +1

      @@amruta632 search gcc in program file or in program file 86 than click on gcc ,copy till bin and then go to environment seting and add the path

  • @Saptarshi88
    @Saptarshi88 Год назад +6

    After Installation I forgot to restart the terminal on VS Code. I closed the Vs Code terminal and restarted that. It worked. Thanks Harry!

  • @norman_1678
    @norman_1678 2 года назад +1

    All he does in this video is typing all at the command promp not the title of his video.

  • @ShivamChaudhary-jn4kw
    @ShivamChaudhary-jn4kw 3 года назад +21

    Sir Mera g++ recognize nahi ho raha hai path mai C:\MinGW\bin\g++ path mai add karne ke baad bhi kya ye problem computer root ke wajah se aa raha hai kya sir @Code With Harry

  • @crypto_in3054
    @crypto_in3054 3 года назад +6

    gcc : The term 'gcc' is not recognized as the name of a
    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

  • @JustDoItForNow
    @JustDoItForNow Год назад +2

    Hello Harry why you not reply anyone
    The problem is not solved

  • @g.aman04
    @g.aman04 Год назад +3

    Hi sir, I am installing the gcc compiler from latest website and its showing this error continuosly.
    ERROR : I am trying after installing java compiler. But now the entire app has been changed for downloading the gcc compiler and the more then 1 directory is having bin file for MYSYS folder so which one to add to ENVIRONMENT VARIABLES

    • @vndn58
      @vndn58 10 месяцев назад

      Isko uninstall karke vaps install kro agr fir bhi na ho to vaps esa uninstall and install kro mere laptop me bhi error aa rha tha mene ese hi sahi kiya

  • @numbgaming7
    @numbgaming7 3 года назад +7

    I love vs code but because of this problem I am unable to use it because of this GCC issue
    tried your solution and restarted PowerShell and GCC too but still unable to solve my issue
    kindly help me out sir .

  • @hariomprem1824
    @hariomprem1824 3 года назад +34

    Thank you so much Harry Bhaiya for all your efforts and support.
    But sorry, I am unable to run the VS code properly, plz help me

    • @yashpatil3598
      @yashpatil3598 2 года назад +2

      Ye windows powershell ko restart kaise karneka

    • @sushantsingh2540
      @sushantsingh2540 2 года назад

      @@yashpatil3598 use band kar ke fir se kholiye

    • @sagaryerguntala909
      @sagaryerguntala909 2 года назад

      @@sushantsingh2540 bhai compiler chal rha hai kya?

  • @beingharshh
    @beingharshh Год назад +1

    Thanks a lot sir 2 din se kr rha tha aab jake hua hai very much happy☺✨💕💕

  • @abhishekbiradar9961
    @abhishekbiradar9961 9 месяцев назад +3

    Hi Harry i got a problem, in my vs studio i am not getting gcc unrecognised , even if i type gcc main.c i am again getting the error called fatal error itself, where instead i should get the next line where i could get to type .a one. please solve the problem.

  • @smartinvestor1317
    @smartinvestor1317 3 года назад +32

    'g++' is not recognized as an internal or external command,
    operable program or batch file.

  • @AbhayK97s
    @AbhayK97s 2 года назад +3

    Mera nhi ho rha I don't know why? Every step I follow

    • @AbhayK97s
      @AbhayK97s 2 года назад

      Please help what's the Error

  • @mohmdakramul1127
    @mohmdakramul1127 3 месяца назад +1

    Mera nahi ho raha hai bhaiya....
    "./a.exe" is not recognised as the name of cmdlet. Bata raha hai

  • @jagdeeshrajpoot8575
    @jagdeeshrajpoot8575 3 года назад +7

    Error : verify that the path is correct and try again

  • @focus4130
    @focus4130 2 года назад +15

    HERE IS THE SOLUTION FOR THOSE WHO ARE FACING PROBLEM: 1)Most probably u made another folder with the folder where u have used "Open with code". In your vs code terminal page , see if the pretext is written as " PS I:\coding>" ( coding is the folder name that i have given, now if u made another folder within the coding folder u need to right click on the folder name ( on the left top side) and press " OPEN WITH INTEGRATED TERMINAL" . Now if u type the command again , most probably it will work . NOW IF R STILL FACING PROBLEM THEN FOLLOW THIS 2)U need to click on this symbol " v " which on looks like this "+ v" on the top right corner of the terminal box . Then select COMMAND PROMPT . Now u need to select the place where u saved the coding folder (if no folder is made within the folder, then leave it as it is , if folder made then type "cd codes" (codes is the 2nd folder name)).Then type the command "gcc test.c -o run" press enter , type"run". The code should run . (u dont need to type " while writing the command. i used them just to diff from the rest) MAY THIS HELP U , same this will for c++ also , just replace gcc with g++

    • @rohitprasad7617
      @rohitprasad7617 Год назад +1

      You're a Lifesaver, all these youtubers are chutiya, thankyou

    • @brunomattesco
      @brunomattesco Год назад

      u could made it a lil better to read

  • @muskanjha7413
    @muskanjha7413 Год назад +1

    The issue is resolved in cmd prompt but in vs code its still not working what do i need to do

  • @totalthings5029
    @totalthings5029 6 месяцев назад +2

    Nahi hoon raha he...

  • @shubhamsongs8746
    @shubhamsongs8746 4 года назад +17

    sir aap ne jo gcc copy krke my pc advance setting me enviroment va me new file paste kiye bt mere me paste krne ke baad bhi nahi ho raha hai

  • @haryanacraft9801
    @haryanacraft9801 2 месяца назад +1

    Sab ho Gaya bas vs code me gcc likhne ke baad code nahi chal Raha hai 😢😢

  • @pcemlectures4767
    @pcemlectures4767 3 года назад +8

    Thank you very much.
    I spent 5 hours to solve this problem by watching another videos. But when I saw your video my problem solved. Thanks 😘

    • @pulkitarora8341
      @pulkitarora8341 3 года назад

      bro, meri b krde solve

    • @pulkitarora8341
      @pulkitarora8341 3 года назад

      aur ------> Path is not a file: C:\\MinGW\\bin or yehh aa raha problem mein

    • @sauravkumarlal
      @sauravkumarlal 3 года назад

      @@pulkitarora8341 kaise kara solve aapne??

    • @nightboys1m943
      @nightboys1m943 2 года назад

      He'll bro please tell me

  • @neeravjha3832
    @neeravjha3832 3 года назад +10

    In my hello world program it shows
    gcc: error: hello: No such file or directory

  • @norman_1678
    @norman_1678 2 года назад +1

    This video cant help your problem from same as his title

  • @kirtishreeyadav3996
    @kirtishreeyadav3996 6 месяцев назад

    Facing a problem?
    Gcc and other files are not showing in bin
    Watch this video:
    ruclips.net/video/997ZpJwxi_I/видео.htmlsi=GcSbynOrZFHrAO9q

  • @krishnendunandi7412
    @krishnendunandi7412 3 года назад +8

    gcc.exe: error: single: No such file or directory ,sir how can solve this problem

  • @AjayKumar-ju6sl
    @AjayKumar-ju6sl 4 года назад +9

    Really Bro, This is my first when I comment on any you tube Channel. For Thanking you
    Once again Thankyou

  • @rudradub7171
    @rudradub7171 Год назад +2

    Can anybody help me
    Sir gcc.exe is not shown in my pc pls help sir plsssssssssss

  • @harshitsrivastav7343
    @harshitsrivastav7343 Год назад +2

    Sir what is good for an absolute beginner: C playlist or C in one video?

  • @mukeshkumar3306
    @mukeshkumar3306 3 года назад +3

    sir, there no gcc.exe file folder in MinGW folder. please tell me how to fix it.

    • @aswiller3671
      @aswiller3671 3 года назад

      same problem

    • @chetnakhandelwal1147
      @chetnakhandelwal1147 2 года назад +1

      @Mukesh kumar ye problem solve kaise kre. Mere b same problem aa rhe h yr.

    • @satyamrawat4079
      @satyamrawat4079 2 года назад

      Same issue with me. How you have solve this problem?

  • @theSRAG
    @theSRAG 3 года назад +8

    In , folder bin its showing "gcc" instead of "gcc.exe" .what do i do ?

    • @shilpikumari3213
      @shilpikumari3213 3 года назад

      Same problem

    • @theSRAG
      @theSRAG 3 года назад +1

      @@shilpikumari3213 you can try Installing Mingw setup instead of MinGW. It worked. Search For MinGWsetup , Install it. Further the process is same.

    • @shilpikumari3213
      @shilpikumari3213 3 года назад

      @@theSRAG i am going to try

    • @theSRAG
      @theSRAG 3 года назад

      @@shilpikumari3213 did it worked ?

    • @rishabhkhatri
      @rishabhkhatri 3 года назад +2

      They both are the same thing

  • @tauseeqazhar6741
    @tauseeqazhar6741 Год назад +1

    Hi, I am also facing this problem. Whenever I write gcc in the vs code terminal or powershell it recognized it and show fatal error no input files and when I try to run it, it does not compile but when i give the full path it does not recognize it either and shows ": The term 'C:\Program' is not recognized as the name of a 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." So Sir kindly help me.

  • @shivamchourasiaIITPATNA
    @shivamchourasiaIITPATNA 5 дней назад

    PS D:\C-folder> gcc cprogram.c
    cc1.exe: fatal error: cprogram.c: No such file or directory
    compilation terminated.
    PS D:\C-folder> gcc main.c
    main.c: In function 'main':
    main.c:5:28: error: expected ';' before 'return'
    5 | printf("Helllo worl
    ")
    | ^
    | ;
    6 | return 0;
    | ~~~~~~
    mera ye error aa raha hai terminal me kya karu?
    hello world print nahi ho raha hai

  • @sumukhu5702
    @sumukhu5702 4 года назад +10

    Sir, I'm using visual studio code, and when I run my program I' m getting error as Id returned 1 exit status and file not recognized and file format not recognized.

  • @atifkhan-ln1cv
    @atifkhan-ln1cv 3 года назад +5

    'gcc' is not recognized as an internal or external command,
    operable program or batch file.

  • @kanikachouhan4269
    @kanikachouhan4269 Год назад

    try typing g++ instead of gcc for new version
    (those downloading in 2023/2022)

  • @K30YTGMR
    @K30YTGMR Год назад +1

    Sir mera nhi ho paya h
    Bin me jaane k baad MinGw installer manager pe pta ni kya dikha raha h😢

  • @vilankarraj8924
    @vilankarraj8924 2 года назад +3

    I have installed MSYS compiler but my bin folder is empty ... even after re-installaton of MSYS compiler still my problem is same please help me

  • @pratikphadke4022
    @pratikphadke4022 3 года назад +11

    thank u very much been trying to solve this problem 2hrs straight in the morning .you are GOD! :)

  • @smrayyan
    @smrayyan Год назад +1

    I have followed all steps but it is not working and i am not able to compile my code.

    • @vedavijayshankar8863
      @vedavijayshankar8863 Год назад

      same here!
      tried all the steps...writing full path is working but when writing gcc, its not working...

  • @User--died1234
    @User--died1234 Год назад

    S C:\Users\Namrata Saikia> C:\MinGW\bin\gcc hello_world.c
    gcc.exe: error: CreateProcess: No such file or directory
    still getting the same thing

  • @ashishdisawal3443
    @ashishdisawal3443 3 года назад +3

    Sir, I installed latest version and in that there is no gcc sir please make a video on it

    • @aswiller3671
      @aswiller3671 3 года назад +1

      yes sir i have also same problem

    • @satyamrawat4079
      @satyamrawat4079 2 года назад

      Iska kuch solution mila kya?

    • @ashishdisawal3443
      @ashishdisawal3443 2 года назад

      @@satyamrawat4079 Haa, I was checking the wrong link, I don't exactly remember but shayad wrong link hi tha.

    • @sachin674
      @sachin674 2 года назад

      same problem bro...

  • @rahulkakkar_4699
    @rahulkakkar_4699 4 года назад +3

    The term 'gcc' is not recognized as the name of a 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.
    how to fix it?

  • @janhvinarayan1633
    @janhvinarayan1633 9 месяцев назад +1

    bhai yeh jcc hain kya yeh too bata dete, compiler install karliya fir bhi c program run nahi ho raha vsc me , someone please help

  • @sahilshaikh-pd4mt
    @sahilshaikh-pd4mt Год назад

    Mera to problem solve ho gaya, maine bohot barr wrong path add kar raha tha , mai windows 7 use kar raha hu, maine [\;c:\MinGW\bin] exact aise maine path add/paste kiya , and happy now🙏💯 thanks bhai

  • @samratgaisamudre921
    @samratgaisamudre921 2 года назад +3

    Hi Harry, even though i have added it in the path. It's still not compiling c programmes but it compiles c++ programmes . Please help.
    It shows following message when c programmes are executed :
    gcc.exe: error: prime: No such file or directory
    gcc.exe: error: number.c: No such file or directory
    gcc.exe: error: number: No such file or directory
    gcc.exe: fatal error: no input files
    compilation terminated.

    • @grishmaprasad4898
      @grishmaprasad4898 2 года назад +1

      you got any solution?

    • @KoushikDas2005
      @KoushikDas2005 Год назад +1

      ​@@grishmaprasad4898now ?😅
      I think 99% had got it wrong.
      Idk why but most of the ide or compiler installation videos of Harry are wrong.

  • @rhtanvir3318
    @rhtanvir3318 5 лет назад +4

    How can I run my C program in Visual studio. it shows problem like update includepath & cannot open source file stdio.h
    please tell me how can I fix this problem????

  • @Yaman-rk8iw
    @Yaman-rk8iw 4 месяца назад +1

    Bhai vs code me no input file wala error a raha hai

  • @unpluggedacoustic5971
    @unpluggedacoustic5971 Год назад

    gcc : The term 'gcc' is not recognized as the name of a 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
    + gcc firsrt.c
    + ~~~
    + CategoryInfo : ObjectNotFound: (gcc:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException this is my problem

  • @piyushsaini2636
    @piyushsaini2636 3 года назад +24

    THANK YOU SO MUCH FOR THIS VIDEO. IT ACTUALLY SOLVED MY PROBLEM. THANK YOU AGAIN.

    • @pandeyrahul0730
      @pandeyrahul0730 2 года назад

      please help me brother MY PROBLEM is not solved

    • @yashpatil3598
      @yashpatil3598 2 года назад

      Ye windows powershell ko restart kaise karneka

    • @74himanshukumar
      @74himanshukumar 2 года назад

      @@yashpatil3598 windows power shell close karke firse open karo

    • @ss3l423
      @ss3l423 2 года назад

      @@74himanshukumar please help bro

    • @74himanshukumar
      @74himanshukumar 2 года назад +1

      @@ss3l423 bhai iss video ko dekh lo ache se jaisa bol raha hai waisa karlo
      Ho jayega to bata dena kyun ki main bhi isme bahut din se problem me tha mai nahi chahta ki aur koi problem me phas jaye

  • @ketkithipse1374
    @ketkithipse1374 2 года назад +3

    I've added the path as told in the video, still I am getting "'gcc' is not recognized as an internal or external command,
    operable program or batch file." in command prompt.

    • @daddy-ih3bp
      @daddy-ih3bp 2 года назад

      Can u give me the link to download mingw pls ......

    • @gufrankazi9633
      @gufrankazi9633 2 года назад

      See this
      ruclips.net/video/Xw-twzh0gAQ/видео.html

    • @samelectro5475
      @samelectro5475 2 года назад

      Bhai hogya ab??

  • @legends6269
    @legends6269 Год назад +3

    Hello sir,after completing all your step for gcc,my pc is showing same error and not started with writing only gcc and i have to write whole path..please sir help me

  • @RAHUL-db7jd
    @RAHUL-db7jd 10 месяцев назад

    Meri exe file to ban rhi h but agar usse open kr rha hu to "the file is not displayed in the text editor because it is either binary or uses an unsupported text encoding" aa rha hai 🙂

  • @ramandeepsingh8823
    @ramandeepsingh8823 4 года назад +6

    The GCC. Exe file ❌ present in bin (bin m Gw)...

  • @hakanciftci9828
    @hakanciftci9828 Год назад

    gcc : The term 'gcc' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s
    pelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + gcc
    + ~~~
    + CategoryInfo : ObjectNotFound: (gcc:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

  • @g.omprasaddora
    @g.omprasaddora Год назад +1

    Can below 75 will prepare or not?

  • @dvs0783
    @dvs0783 2 года назад +6

    Hi
    I have started learning from your c language tutorial series.
    I followed all steps but my program is not running it always shows gcc no input files
    I did the steps of above video still the same
    Pls guide

    • @gufrankazi9633
      @gufrankazi9633 2 года назад

      See this
      ruclips.net/video/Xw-twzh0gAQ/видео.html

  • @avilashbhowmick6416
    @avilashbhowmick6416 2 года назад +3

    Sir I use.. windows 7 ultimate, in the advance settings -> environment variables -> user variables -> path (unable to add new ) there is only option for edit, but no option for add new in path. Please help

    • @cararmy9546
      @cararmy9546 2 года назад

      Edit he to karna he n

    • @addy475
      @addy475 2 года назад

      Sme bhai ditto yhi problems

  • @priyasonwani5341
    @priyasonwani5341 Год назад +1

    mera mingw ke folder mein gcc.exe file nhi dikha rha hai, what to do?

  • @Akshaymule-yg7fg
    @Akshaymule-yg7fg 5 месяцев назад

    gcc is not recognised as the name of a 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 problem gcc face me please solution me harry bhaiyya

  • @techstudiofeedback9479
    @techstudiofeedback9479 5 лет назад +4

    Bhai chal to gya lekin .. Jab main apni C FILE COMPILE KRTA HU TO ..WAPAS WHI BOLTA H GCC FATAL ERROR :

  • @chinmaykulkarni8062
    @chinmaykulkarni8062 3 года назад +3

    Thanku Harry Sir. This video help me solve my Problem.

    • @rachnaguttedar6481
      @rachnaguttedar6481 3 года назад

      Help me out.....Tried a lot still the error is not resolving.
      Actually my bin folder is empty, what to do

  • @dichkupichku
    @dichkupichku Год назад +1

    mere pc me vs code par c and c++ ka code run hi nahi ho raha hai
    lagbhag sare youtube ke solution video dekh dale

  • @muhammadrashid-ye5pr
    @muhammadrashid-ye5pr 11 месяцев назад +1

    Sir there is no gcc in my mingw bin

  • @srinivasraosindhu1548
    @srinivasraosindhu1548 4 года назад +3

    I am Facing the Problem in window 7 path adding procedure for gcc file

    • @vaishalisaha1913
      @vaishalisaha1913 4 года назад

      Even I am facing the same problem

    • @srinivasraosindhu1548
      @srinivasraosindhu1548 4 года назад

      @@vaishalisaha1913 create new path and add the gcc file location

    • @vaishalisaha1913
      @vaishalisaha1913 4 года назад

      @@srinivasraosindhu1548 Got it. thanks

    • @lokeshrajput2458
      @lokeshrajput2458 3 года назад

      @@srinivasraosindhu1548 i did not get it can you clearly explain

  • @coolharshang
    @coolharshang 4 года назад +5

    The terminal shell path "C:\Program Files\Git\bin\bash.exe" does not exist
    how to solve???

  • @wolrafgamer877
    @wolrafgamer877 11 месяцев назад +1

    Sir there is no gcc in my mingw

  • @Rahul-tu4bj
    @Rahul-tu4bj 2 дня назад

    Sir please help me because I did everything but gcc not working

  • @023_shahriarkabir7
    @023_shahriarkabir7 4 года назад +4

    'gcc' is not recognized as an internal or external command.
    aysa bol raha ha visual studio code.
    kya karu vae madat karo
    issavi solve nahi ho raha ha

  • @akshitgujjar4441
    @akshitgujjar4441 4 года назад +3

    Harry Sir mene mingW download karne ke baad, c drive /program /bin folder me gcc file show ho raha he. Bin folder me gcc. Exe file he hi nahi sir please help me Sir

  • @Pens.ays92
    @Pens.ays92 Месяц назад

    actually it's working by full path only not by single gcc

  • @MR.GENERALGAMING
    @MR.GENERALGAMING Год назад

    main.c:1:10: error: #include expects "FILENAME" or
    #include (stdio.h)
    ^
    main.c: In function 'main':
    main.c:5:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    printf("hello world
    ")
    ^~~~~~
    main.c:5:5: warning: incompatible implicit declaration of built-in function 'printf'
    main.c:5:5: note: include '' or provide a declaration of 'printf'
    main.c:6:5: error: expected ';' before 'return'
    return 0;
    ^~~~~~
    this is the i am getting @CodeWithHarry