Baloff wrote:
can I use the makefile to run my code.
say I type $make which does it's thing, then "can I put ./project1 as
the last line" to run the program?
did how work here but I would like to come up with a way to just type
somthing in the shell and it makes and runs the program. any thoughts.
$ make && ./project1
Now ask this: When you change your code, can't you just hit a button on your
editor, and it will save, compile, optionally navigate to error messages,
and then run the program if it built? Why not?
(And note this is on-topic for a forum that discusses your exact compiler:
It's not a C++ question, so we are not qualified to answer it.)
--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand