469,933 Members | 2,534 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,933 developers. It's quick & easy.

How to execute C program through Command line with arguments

1
i wrote the c program for command line argumments,but i donot know how execute c program through command prompt

i did like this
d:\tc\bin>
then how should i proceed for execution
Aug 13 '12 #1
1 1929
Mariostg
332 100+
@veni
How familiar are you with the main() function. Use its argc and argv parameters. There are may exemples available in books and on the Internet
http://en.wikipedia.org/wiki/Main_fu...#C_and_C.2B.2B
Why don't you post your main function?
Aug 13 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Juan Romero | last post: by
4 posts views Thread by Roland | last post: by
6 posts views Thread by evantri | last post: by
2 posts views Thread by Milan | last post: by
4 posts views Thread by neha_chhatre | last post: by
4 posts views Thread by Keith Hughitt | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.