cpmmand line arguments

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • neha_chhatre@yahoo.co.in

    cpmmand line arguments

    hello

    tell me how to compile as well as run command line arguments.Also let
    me know how to open a particular text file using command line asgument

    say for example
    if there are three text file pt1,pt2,pt3 and if i want to open pt1
    please let me know as soon as possible
  • Richard Heathfield

    #2
    Re: cpmmand line arguments

    neha_chhatre@ya hoo.co.in said:
    hello
    >
    tell me how to compile as well as run command line arguments.Also let
    me know how to open a particular text file using command line asgument
    >
    say for example
    if there are three text file pt1,pt2,pt3 and if i want to open pt1
    please let me know as soon as possible
    This information is readily available from any good C tutorial book or
    reference book. See, for example, "The C Programming Language", 2nd
    edition, by Kernighan and Ritchie, or "C How to Program" (any edition), by
    Deitel and Deitel, or "C: A Reference Manual" (any edition), by Harbison
    and Steele. Look up "command-line arguments" in the index.

    --
    Richard Heathfield <http://www.cpax.org.uk >
    Email: -http://www. +rjh@
    Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
    "Usenet is a strange place" - dmr 29 July 1999

    Comment

    • dj3vande@csclub.uwaterloo.ca.invalid

      #3
      Re: cpmmand line arguments

      In article <GvGdnfENx4ONqV zanZ2dneKdnZyrn Z2d@bt.com>,
      Richard Heathfield <rjh@see.sig.in validwrote:
      See, for example, "The C Programming Language", 2nd
      >edition, by Kernighan and Ritchie, or "C How to Program" (any edition), by
      >Deitel and Deitel, or "C: A Reference Manual" (any edition), by Harbison
      >and Steele.
      Without having a copy to check, I'm pretty sure the first edition of
      K&R will also answer the OP's question.
      (Though there are of course other Very Good Reasons to prefer the
      second.)


      dave

      --
      Dave Vandervies dj3vande at eskimo dot com

      Nothing is perfect. Not even Windows sucks perfectly.
      -- Jay Maynard in the Scary Devil Monastery

      Comment

      Working...