why flags r used

M

Michael Mair

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
 
M

Michael Mair

Michael said:
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
 
C

CBFalconer

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top