• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: # flag used with printf warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: # flag used with printf warning


  • Subject: Re: # flag used with printf warning
  • From: Paul Russell <email@hidden>
  • Date: Wed, 28 Apr 2004 13:48:29 -0700

On Apr 27, 2004, at 11:01 AM, Chris Espinosa wrote:

The portable way to printf a Pascal string is

	printf("%*s\n", pstring[0], &pstring[1]);



While we're on this subject, is there a portable way to printf long longs ?


It seems that some compilers/libraries use %lld while others use %Ld.

Paul
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: # flag used with printf warning
      • From: Clark Cox <email@hidden>
References: 
 >Re: # flag used with printf warning (From: Ken Turkowski <email@hidden>)
 >Re: # flag used with printf warning (From: Chris Espinosa <email@hidden>)

  • Prev by Date: XCode for servlet/EJB development...
  • Next by Date: Re: xcode 1.2, -fast and ppc_intrinsics.h
  • Previous by thread: Re: # flag used with printf warning
  • Next by thread: Re: # flag used with printf warning
  • Index(es):
    • Date
    • Thread