Skip navigation.
 
mlRunning a (C++) executable with str?
FROM : Markus Hänchen
DATE : Thu Jan 08 16:41:25 2009

Hi,

Preamble:
I am taking over some code written in C++ but have very little 
experience with C++ (mainly use Fortran & Perl).

My problem:
My predecessor used, via the commandline, bjam for compilation and ran 
the executable with './pathtoexecutable str'. This works for me as 
well. I am also able to build it with Xcode and run it then with './
pathtoexecutable str' on the commandline. But when I run it from 
within Xcode, it only displays the help content (from the .cpp file) 
which is the same result as running it from the commandline without 
'str'.

My question:
How do I tell Xcode to add the 'str' when it runs the executable? And 
what does this 'str' actually do?

Thanks,

Markus

Related mailsAuthorDate
mlRunning a (C++) executable with str? Markus Hänchen Jan 8, 16:41
mlRe: Running a (C++) executable with str? Jean-Daniel Dupas Jan 8, 16:50