Since your Perl one-liner seems to indicate that you work on some flavor of Unix, you could simply redirect the output toward your C program:
perl -e 'print "AAAA"."BBBB"."\x44\x84\n";' > test.cOr, if you just want to append the output to an existing C program file:
perl -e 'print "AAAA"."BBBB"."\x44\x84\n";' >> test.cUpdate: from your new message on Aug 24, 2013 at 17:53 UTC, it looks like I completely misunderstood your requirement. Sorry about that and forget the above.
In reply to Re: passing arguments to c prog
by Laurent_R
in thread passing arguments to c prog
by gsaro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |