Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
how to insert variable's value?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Raz0rEdge" data-source="post: 1526479" data-attributes="member: 110816"><p>[CODE]</p><p>$ cat t1.c</p><p>#include <stdio.h></p><p></p><p>int main(void)</p><p>{</p><p> printf("Hello World\n");</p><p></p><p> return 0;</p><p>}</p><p>[/CODE]</p><p></p><p>My super secret code...sshhhh..</p><p></p><p>[CODE]</p><p>$ gcc t1.c</p><p>$ ls</p><p>a.out t1.c</p><p>[/CODE] </p><p></p><p>By default, gcc creates the output named a.out, I would fix that with the call</p><p>[CODE]</p><p>$gcc t1.c -o t1</p><p>[/CODE]</p><p></p><p>But based on the usage line that you are getting, the program just seems to expect a series of arguments passed in THAT order..</p><p></p><p>Cradom eluded to argument modifiers that allow people to pass arguments in ANY order, but this program might not support that..</p></blockquote><p></p>
[QUOTE="Raz0rEdge, post: 1526479, member: 110816"] [CODE] $ cat t1.c #include <stdio.h> int main(void) { printf("Hello World\n"); return 0; } [/CODE] My super secret code...sshhhh.. [CODE] $ gcc t1.c $ ls a.out t1.c [/CODE] By default, gcc creates the output named a.out, I would fix that with the call [CODE] $gcc t1.c -o t1 [/CODE] But based on the usage line that you are getting, the program just seems to expect a series of arguments passed in THAT order.. Cradom eluded to argument modifiers that allow people to pass arguments in ANY order, but this program might not support that.. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
how to insert variable's value?
Top