How to Fix Error: GCC/G++ No Such File Or Directory

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 23

  • @joshuafountain
    @joshuafountain Рік тому +75

    I wish dislikes were back so people could not waste their time watching

    • @devanshdewan2597
      @devanshdewan2597 Рік тому +5

      try clicking on open folder on left side of your vs code . put your c/c++ file in that folder and then click on open terminal to run the code . i had the same issue and now it works for me though.

    • @luckybaghele1939
      @luckybaghele1939 Рік тому +2

      Instead of the video your comment works thanks 👍

    • @darkblack3791
      @darkblack3791 6 місяців тому

      True, wasted 3 minutes before realizing this dude not gonna help me

  • @farhanhayath5299
    @farhanhayath5299 11 місяців тому +25

    try removing spce from the file name

  • @ajakeraeidine
    @ajakeraeidine 3 місяці тому

    thanks you saved my coding life ...

  • @moric4677
    @moric4677 Рік тому +15

    my problem was i put space in the file name , so I was getting the errors
    just removed spaces from file name and it worked

  • @fastbike9845
    @fastbike9845 Рік тому +23

    What a waste of my time watching

  • @Mr.SohelchauS
    @Mr.SohelchauS 2 місяці тому

    exe file not created? why

  • @tareqzyad9684
    @tareqzyad9684 3 місяці тому +3

    even god cant solve it

  • @AyushSinhx
    @AyushSinhx 4 місяці тому

    thanks

  • @zhichenggong7487
    @zhichenggong7487 9 місяців тому +1

    all i get is
    g++ : The term 'g++' 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
    + g++ -o main.exe .\δÃüÃû1.cpp
    + ~~~
    + CategoryInfo : ObjectNotFound: (g++:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    • @rim5160
      @rim5160 8 місяців тому

      same here,I've tried everything atp
      if you've found a solution to this pls tell me