Fix Error: GCC/G++ No such file or directory

preview_player
Показать описание
How to fix error GCC/G++ No such file or directory - fatal error No input files .

***********************************

🔥 *Complete Udemy Courses* :

⬇️ *Free Document Proofreading* ⬇️
Рекомендации по теме
Комментарии
Автор

I just started c++ and was doing my first code and got stuck here. thnx to you now i can continue to learn.

nileshchoudhary
Автор

The error: "fatal error: no such directory"
Occurred because the file name has seperated words by spaces.

To fix it: remove spaces from the filename or replace it with an underscore"_".

goodgrinch
Автор

I'm very new to this whole coding thing. The steps outlined help, but it wasn't what ultimately fixed my problem... If you're like me and like to Copy/Paste things willy nilly, you may notice something weird about the error. You see, I use Notepad++ with minGW for compiling. Not sure if this will work for other compilers or whatever, might though. What I saw was I was getting these two weird 'o' on the side of my file name, which got me thinking, "Why the hell is my file name so weird?" I looked online for about 5 hours til I found the solution... Apparently, Notepad++ has trouble recognizing quotation marks if you were to happen to Copy anything that you took from an outside source and Pasted it in that NPPExec area or really anywhere. All I had to do was get rid of those quotation marks and put them back by actually typing them in. The ones Pasted into NPP were rotated at a 45 degree angle making it look like the things they surrounded had little wings. Can't remember who it was that pointed it out responding to someone else, but it helped me out.

Demonos
Автор

Thanks sir ❤️
I am trying to solve this problem from 2 days thanks alot I find your video and it's help me too much ❤️❤️❤️❤️❤️❤️❤️

adinathdhumal
Автор

I have to skip all the lesson about multiple files for a month until I see ur video
Absolute legend !

gqyvzyq
Автор

I was frustrated and hardly trying to fix that from an hour and i finnally got that video, thanks a lot

adityatomar
Автор

ты просто гений спасибо тебе, стати я прям на 100% понимаю твой акцент .

IlyaProk
Автор

Damn that was helpful, I was going crazy finding a solution to this, it was just the damn DIR

Elsa.zoneNt
Автор

thx for the help XD
question: does this mean that I cant run the code directly using the run button (i mean the one at the top right of vsc beside the split editor button)?

hassanjawad
Автор

sir ye launcher k through run krta toh aksar ye error dene lag jata. but terminal pr jakr g++ (TAB) then a(TAB) krta toh wahan result dedeta please iska kopi fix batadein k mujhe g++ wala prosedure na krna prhe bar bar sirn button (LAUNCHER) se he run hoi

g++.exe: error: declare: No such file or directory
g++.exe: error: multiple: No such file or directory
g++.exe: error: multiple: No such file or directory

yasirfarooq
Автор

Finally, a solution to my problem!
A million thanks good sir, your tutorial helped me realize how a mere space in the name of my c++ file was preventing me from running them

YaBoiTechno
Автор

I typed "dir" on my mac and it said "zsh: command not found: dir"

shotarcherz
Автор

It is helpful, but can you tell me how this exe file can create automatically after pressing the run button

KamranKhan-lrse
Автор

It just printed once and then it kept printing the same thing even tho I changed the text to something else

MD_aska
Автор

always need a short video to fix a simple problem

TacticalReindeer
Автор

Still showing no such file or directory

alexasher
visit shbcf.ru