View Single Post
  #1  
Old 03-10-2011, 01:03 AM
Linux Linux is offline
Senior Member
 
Join Date: Jun 2009
Posts: 1,113
Default How to pass argument to shellscript executing g++ ?

I want to get the error output from compiling a C++ file using shellscript. When I pass argument to shellscript , for ex: argument is the name of the .cpp file : data.cpp, and that argument seems only be able to deal with "echo" but not with g++ as: <div class="codeblock"> <div class="spaced">...
__________________
Linux
Domain name forum
Reply With Quote