#launch: program 'file directory' does not exist

46 messages ยท Page 1 of 1 (latest)

tepid topaz
#

Can someone help me? I just followed the steps to install c++, but I still can't run it.

Idk how to launch "launch.json" as well, anything i put inside the bar it doesn't do anything.

desert veldtBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

#

@tepid topaz

Screenshots!

Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!

hidden nebula
#

In the file tasks.json, replace gcc by g++ in the command.

tepid topaz
#

@hidden nebulahow to find the file

#

do i create it?

#

@hidden nebula this?

hidden nebula
tepid topaz
#

@hidden nebulawhat do you mean?

#

how do i compile precisely?

hidden nebula
#

The tasks.json would be located in the folder .vscode btw

#

Well yes, what did you do precisely to obtain this?

tepid topaz
hidden nebula
brazen laurel
#

Should be in the same directory as the directory in which you opened vsc

tepid topaz
tepid topaz
#

oh wait

#

i havent follow its hello world part

#

hold up

#

@hidden nebula

tepid topaz
#

@hidden nebulawow

#

it worked

#

thank you

#

so much

#

but can you explain why this happened

#

did i somehow messes up somewhere that cause this to happen?

hidden nebula
#

Well gcc specifically compiles C and doesn't link C++ stuff.

tepid topaz
hidden nebula
#

You can "first" then ๐Ÿ˜„

tepid topaz
#

@hidden nebula i think i figure out why

#

was blindly following the tutorial, in the tutorial g++ is the first one

#

but for me gcc is the first one

#

so i clicked on gcc

#

thank you so much for your help though

hidden nebula
#

np ๐Ÿ™‚

tepid topaz
#

would have been stuck here dont know what to do for hours

desert veldtBOT
#

@tepid topaz Has your question been resolved? If so, type !solved :)

tepid topaz
#

!solved