Billy wrote:
Quote:
Hi!
>
I'm using:
-Compiler: Borland Command Line C++ Compiler 5.5.1
-Code Editor: SciTE 1.75
>
Anybody know how we can in Scite with command Tools|Go (F5) compile
and run my c or cpp program at the same time? So I won't first compile
and then run, but all in one step.
>
I don't know how to set parameters in "cpp.properties" file. I know
that I have to set line "command.go.needs.*.c", but It doesn't work.
Please for help.
>
Is this possible from regular command line (cmd)?
I don't know SciTE at all, but doing this all in one step should be easy
enough from the command line. I don't remember the DOS syntax, but on
Unix/Linux/Mac you can use the && operator to run the program iff the
build is successful:
bcc32 -o main main.cc && ./main
You can replace the direct call of bcc32 with make, or tmake, or nmake,
or whichever build tool you prefer; Borland includes its own make.exe.
You can generally recall the previous command by pressing the up arrow
on your keyboard, and re-run it by hitting Enter.
Better yet, you can define a make target that includes the ordinary
build, then runs the resulting executable. For example, your makefile
may look like this:
run: main
./main
main:
I have a copy of 5.1 lying around here somewhere, but it's not
installed, so I can't check the Borland make syntax right now.
:(