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.
44 messages ยท Page 1 of 1 (latest)
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.
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
how do i do that
Do you know what the console is?
I have a tutorial here: https://github.com/holyBlackCat/cpp-tutorials
Probably easier to follow that than for me to explain everything here ๐
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
the purple one
Then you don't really need mingw
oh
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"
ahh
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
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
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
Yes. When you send the program to others this message will not appear
Also why does everyone try to hide their name? ๐
VS is showing it, not your program
but if i open this right here it automatically closes. If i close VS will the programm work?
Yeah that's normal. You need to open it from the console for it to not close
but what do i send other people then
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
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 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 :)
!solved