Hello everyone, I am really new to programming, I am currently teaching myself using this websites tutorials. I have built a really basic program on the IDE Code::Blocks and I want to try it outside of the IDE if that makes any sense? It runs perfectly fine on the IDE but I wanna see it running without using codeblocks. I had someone tell me to save it as an exe file and then run it but I dont have the option to save it as an exe, I have a bunch of options that I dont know what they are. Any ideas?
Your IDE probably creates an .exe file already every time you build your program. Look inside the project folder and see if you can find an .exe file there.
When you build the project, an .exe is created. You can't run a program without building it, so that has already happened. You can find it in the bin/Debug and bin/Release subfolders of your project for the two default targets.
Code::Blocks is just an IDE and it auto builds the executable for you. The IDEs just invoke the compiler and make it build the source to an executable. Just have to find where it places the file after it builds it.
Thanks everyone! I actually found it a bit after posting this question. It was exactly where you said it would be lol it was in the bin folder so I just dragged and dropped it onto my desktop