Thread: Command line args

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ultraviolence Connoisseur
    Join Date
    Mar 2004
    Posts
    555
    does the filename have spaces or anything? try using quotes around it on the command line.

    also i assume "inFile" is declared globally, and as FILE *?

    *EDIT* how are you declaring argc and argv?
    Last edited by nonpuz; 04-12-2004 at 04:40 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pointer confusion
    By Blackroot in forum C++ Programming
    Replies: 11
    Last Post: 09-12-2007, 12:44 AM
  2. Replies: 2
    Last Post: 10-24-2005, 01:32 PM
  3. Replies: 1
    Last Post: 06-29-2004, 05:23 PM
  4. Multiple Command Line Args
    By mart_man00 in forum C Programming
    Replies: 10
    Last Post: 08-16-2002, 02:15 PM
  5. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM