|Re: Noobie help- Want to make a stand alone program [message #884564 is a reply to message #884304]
||Mon, 11 June 2012 11:03
| Edzard Egberts
Registered: July 2009
Tristan Homsi schrieb:|
> So pretty much, I'm doing a bunch of contest programming and the like,
> and I don't want to have to create a new project every time I want a new
> small executable program.
> I've fooled around for a while, but I couldn't figure it out. Is there
> anyway to create and compile c++ programs outside of a project, just so
> I could write up say 5 different programs separately?
You only need to look to the "console" view of a project, change
something and build new. You will see the build orders and you can
"reuse" them by typing or script. For my linux system, the compiler
lines are starting with "g++", the gnu C++ Compiler. There are a lot of
options and the source code file and that will build your program. You
also should take a look to the "makefile", out of the same directory you
should be able to call "make clean", "make" to build your project.
Powered by FUDForum
. Page generated in 0.02319 seconds