#Nothing is displaying lmao

46 messages ยท Page 1 of 1 (latest)

simple panther
onyx nymphBOT
#

When your question is answered use !solved or the button below 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.

#

@simple panther

Screenshots!

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

agile helm
#

Try running it from a standalone terminal

forest token
#

You compiled after you wrote the code right?

oak sluice
#

Just to double check - is this the right main.cpp in this directory? Perhaps you made an empty main.cpp that doesn't print anything here.

agile helm
#

Obligatory: Just use Visual Studio heh

silver maple
#

and also , everytime you make any change in your file , you have to recompile it and run the new application

maybe you built the .exe initially , wrote some code but didnt recompile it and you are trying to run the old exe

sudden shadow
#

Please run gcm g++ and echo $env:PATH and show the outputs

simple panther
sudden shadow
#

Most likely you need to edit the PATH and move the compiler installation directory to the very beginning

agile helm
simple panther
#

wait.. when i did ts with the standalone terminal

#

i got

#

๐ŸŒน

silver maple
#

show what you typed in the terminal behind this error screen

simple panther
#

i typed g++ main.cpp -o fkt.exe

#

fkt.exe

#

dats all

silver maple
#

oh ok

simple panther
sudden shadow
agile helm
#

ah

#

not an issue with Visual Studio heh

sudden shadow
# simple panther

Ok, so you need to move C:\MinGW\bin to be first in PATH. After you do that, restart VSC, run echo $env:PATH, and confirm that it's indeed first

agile helm
#

@sudden shadow when are you gonna write an installer or universal script that one shots this set up for us?

simple panther
#

dayum

#

still not working..

#

lemme just reinstall ts

#

gn

sudden shadow
sudden shadow
agile helm
#

I don't think it's particularly useful for beginners, tbh

#

Unless you're trying to gatekeep (then based)

sudden shadow
#

The explanation why PATH needs to be in this order isn't very useful, but knowing how to manipulate it is. Or at least I think so sadge

agile helm
#

Useful, but i think it's outside of the scope for trying to learn the language basics

#

I think a lot of what you have to do to set up MinGW on Windows is useful knowledge, just not what you want beginners to be focusing on trying to learn C++

sudden shadow
#

I could be wrong, but I assume that if someone is unable to follow those relatively simple instructions, and you give them an easier IDE to install, they'll get stuck on something else down the line anyway

#

Perhaps this does count as gatekeeping? ๐Ÿ˜›

ocean jewel