RE: format specifiers
RE: format specifiers
- Subject: RE: format specifiers
- From: email@hidden
- Date: Mon, 4 Aug 2003 10:42:01 +0100
David,
Checkout man printf:
At a terminal window type:
man printf
This will display the help for printf, which includes the formatting
information.
Almost all standard C functions have a man page, you will probably find this
useful to have alongside the book you're following.
Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited
-----Original Message-----
From: David Thorp [
mailto:email@hidden]
Sent: 04 August 2003 10:26
To: email@hidden; email@hidden
Subject: format specifiers
Another quick question...
This book I'm reading seems to make no distinctions between the
following (used in the printf() function for example)...
%d vs %i
%x vs %X
%e vs %E
%g vs %G
%lu vs %Lu
%ld vs %Ld
%li vs %Li (actually it doesn't mention these two at all, I'm just
assuming they exist. Do they?)
...except to say note the capitals and note the lowercase letters for
the latter six.
What is the difference between each item in the pairs above, if any?
Are each in each pair interchangeable or are there differences?
Thanks in advance!
David.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.