www.digitalmars.com         C & C++   DMDScript  

c++ - Argument problem - missing quote

reply Brian Gardner <briangr friberg.us> writes:
testarg.c:
#include <stdio.h>

int main(int argc, char *argv[]){
return printf("%s", argv[1]); }

gcc testarg.c -o testarg.exe & testarg """
"

dmc testarg.c & testarg """


The double quote is missing here.
Any way to pass a double quote as argument to DMC compiled program?

DMC v8.47

Thanks,
Brian
May 09 2006
parent Bertel Brander <bertel post4.tele.dk> writes:
Brian Gardner wrote:

 Any way to pass a double quote as argument to DMC compiled program?
 
testarg \" testarg "\"" -- Absolutely not the best homepage on the net: http://home20.inet.tele.dk/midgaard But it's mine - Bertel
May 09 2006