• 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
strange sprintf problem with Xcode 2.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange sprintf problem with Xcode 2.3


  • Subject: strange sprintf problem with Xcode 2.3
  • From: Roberto Cruz <email@hidden>
  • Date: Wed, 7 Jun 2006 22:36:34 +0200

I try to do the following

sprintf(CurrentMultiplier, "%.1f", (double)CurrentFID);



printf("CurrentMultiplier is %s", CurrentMultiplier);

The result

> CurrentMultiplier is f

Any ideas?

Cryptonome
InCrew Software
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: strange sprintf problem with Xcode 2.3
      • From: Roberto Cruz <email@hidden>
  • Prev by Date: Re: Cross-development problem with curl
  • Next by Date: Re: runtime check if gdb is attached
  • Previous by thread: Re: Xcode-users Digest, Vol 3, Issue 410
  • Next by thread: Re: strange sprintf problem with Xcode 2.3
  • Index(es):
    • Date
    • Thread