Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Linux and Unix (http://www.domainnameforum.org/forumdisplay.php?f=119)
-   -   How to pass argument to shellscript executing g++ ? (http://www.domainnameforum.org/showthread.php?t=147345)

Linux 03-10-2011 01:03 AM

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">...


All times are GMT -4. The time now is 09:52 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.