Handeling Command Line Arguments

This is a discussion on Handeling Command Line Arguments within the C Programming forums, part of the General Programming Boards category; How do you pull just the number off of arguments such as: -r20, -f2, -csd11...

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    4

    Handeling Command Line Arguments

    How do you pull just the number off of arguments such as:

    -r20, -f2, -csd11

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    You read the FAQ: Cprogramming.com: FAQ

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Beginner Needs help in Dev-C++
    By Korrupt Lawz in forum C++ Programming
    Replies: 20
    Last Post: 09-28-2010, 02:17 AM
  2. GradeInfo
    By kirksson in forum C Programming
    Replies: 23
    Last Post: 07-16-2008, 04:27 PM
  3. command line arguments
    By vurentjie in forum C Programming
    Replies: 3
    Last Post: 06-22-2008, 07:46 AM
  4. Replies: 10
    Last Post: 09-27-2005, 01:49 PM
  5. NULL arguments in a shell program
    By gregulator in forum C Programming
    Replies: 4
    Last Post: 04-15-2004, 11:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21