#Problem with compiling

44 messages ยท Page 1 of 1 (latest)

gilded grailBOT
#

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.

versed solstice
#

Okay, so you have a few options.
Visual Studio (not Code) will just work out of the box with no configuration

#

Or you can learn to compile manually with MinGW, that's a good learning experience too

versed solstice
#

Do you know what the console is?

worthy bane
#

uhm

#

nah not really (sorry im new)

versed solstice
#

Probably easier to follow that than for me to explain everything here ๐Ÿ˜›

worthy bane
#

okAy i will try

#

ty

#

but wait so i code on visual studio and i have mingw installed but what really is mingw for

#

i heard its to make the written code into a program

versed solstice
#

Visual studio or visual studio code?

#

They are two different things vscode vs

worthy bane
#

the purple one

versed solstice
#

Then you don't really need mingw

worthy bane
#

oh

versed solstice
#

So there are programs called compilers, they transform the code you write into programs that you can run.
And there are also IDEs (fancy text editors), where you type code and they just save it as text files.
IDE automatically calls a compiler when you click "run"

worthy bane
#

ahh

versed solstice
#

Visual Studio is an IDE, it uses a compiler called MSVC internally. But you can also use MSVC directly and write the code in the notepad or whatever

#

MinGW is another compiler

worthy bane
#

okok

#

but how do i make my written code as a programm that i can send to others

versed solstice
#

Both visual studio and mingw can do that

#

If you use VS, then after clicking "run" you'll find the program somewhere near the code

#

And for MinGW (if you use it without an IDE) my tutorial explains this

worthy bane
#

so if i run the start button this comes and ig thats normal

#

if i copy the path will i come to the programm?

#

i have this but if i open it it automatically closes

versed solstice
#

Also why does everyone try to hide their name? ๐Ÿ˜›

versed solstice
worthy bane
versed solstice
worthy bane
versed solstice
#

Normally it's up to the other people to know how to run the program correctly so that it doesn't close immediately

#

Console programs (like yours) usually close themselves immediately if not ran from a console

worthy bane
#

alr

#

!solved

gilded grailBOT
#

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity

#

@worthy bane

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

#

@worthy bane Has your question been resolved? If so, type !solved :)

worthy bane
#

!solved