why flags r used

Discussion in 'C Programming' started by siddurampure@yahoo.co.in, Mar 7, 2005.

  1. Guest

    why flags r used in c langauage
     
    , Mar 7, 2005
    #1
    1. Advertising

  2. wrote:
    > why flags r used in c langauage


    Which 'flags' are you talking about?

    --
    Peter
     
    Peter Nilsson, Mar 7, 2005
    #2
    1. Advertising

  3. Michael Mair Guest

    wrote:
    > why flags r used in c langauage


    The only flags used in C are used in the standard library, namely
    for *printf() and (in C99) for the floating point environment (to
    flag exceptions).
    So, what exactly is your question?

    Cheers
    Michael
    --
    E-Mail: Mine is an /at/ gmx /dot/ de address.
     
    Michael Mair, Mar 7, 2005
    #3
  4. Michael Mair Guest

    Michael Mair wrote:
    > wrote:
    >
    >> why flags r used in c langauage

    >
    >
    > The only flags used in C are used in the standard library, namely


    I mean: "in the C standard"

    > for *printf() and (in C99) for the floating point environment (to
    > flag exceptions).
    > So, what exactly is your question?


    Note: If you are asking about flags in general, comp.programming
    may be a good starting point.


    -Michael
    --
    E-Mail: Mine is an /at/ gmx /dot/ de address.
     
    Michael Mair, Mar 7, 2005
    #4
  5. CBFalconer Guest

    wrote:
    >
    > why flags r used in c langauage


    Largely because lower case 'r' is considered obscene in some
    societies, and thus it is politic to flag any such use in code for
    international use. This can avoid silly misunderstandings.

    --
    "If you want to post a followup via groups.google.com, don't use
    the broken "Reply" link at the bottom of the article. Click on
    "show options" at the top of the article, then click on the
    "Reply" at the bottom of the article headers." - Keith Thompson
     
    CBFalconer, Mar 7, 2005
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Valentin Tihomirov

    flags vs. comparator

    Valentin Tihomirov, Nov 10, 2003, in forum: VHDL
    Replies:
    5
    Views:
    640
    Valentin Tihomirov
    Nov 11, 2003
  2. Anand Sagar
    Replies:
    2
    Views:
    1,984
  3. Mr. SweatyFinger

    why why why why why

    Mr. SweatyFinger, Nov 28, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    907
    Mark Rae
    Dec 21, 2006
  4. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,986
    Smokey Grindel
    Dec 2, 2006
  5. Steve Holden
    Replies:
    0
    Views:
    780
    Steve Holden
    Feb 8, 2009
Loading...

Share This Page