Ask a Question

Someone Pls expalain me the COMMAND LINE ARGUMENT feature of \'C\'....or pls give any link from where i can get some idea about it.

on 2010-06-05 16:28:31   by Suman   on Computer Science & Engineering  4 answers

Siddhartha

on 2010-06-05 09:30:00  

Do you have Let\'s C by Kanetkar? If you have then go to Chapter 13 (More Issues In Input/Output) else I can send you the e-book if you want?

Arpan

on 2010-06-06 09:30:00  

U can also consult T. Jaypoovan.. It is far better than Kannetkar..

Suman

on 2010-06-06 09:30:00  

Ok Bro...I read it...But a confusion.....That suppose I have written a file copy program using command line argument...Then I want to run it to copy 1 file to another....How to do that??How to run the program??Normal compilation and Run do not working....everytime it says that file cannot be opoened....error msg..

Administrator

on 2010-06-06 09:30:00  

If you are using Linux, then in the terminal type: gcc file_name.c file1_name.ext file2_name.ext ./a.out file_name.c has the source code to copy those two files.