getopt « integer « C Data Type Q&A

Home
C Data Type Q&A
1.binary
2.bit
3.byte
4.char
5.character
6.decimal
7.Development
8.float
9.hex
10.integer
11.prime
12.random
13.struct
C Data Type Q&A » integer » getopt 

1. C getopt -    stackoverflow.com

How do I get the option -10 from command line arguments- "tail -10". getopt function finds '1' character. But how do I access the string "10"? If this can be done ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.