• 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
A question I'm ashamed to ask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A question I'm ashamed to ask


  • Subject: A question I'm ashamed to ask
  • From: April Gendill <email@hidden>
  • Date: Wed, 20 Oct 2004 10:48:48 -0700

Ok. I work with plain old ansi c so little that this has escaped me. In one of my application I need to take a plain old C character array
and make it into a string but the string needs to use a conversion character.

so I basically I need
char * something = "%x", someInteger;

basically I need to convert the integer into it's hex value and place it in the string.
I can't figure out how to do this.


April.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: A question I'm ashamed to ask
      • From: Sherm Pendley <email@hidden>
    • Re: A question I'm ashamed to ask
      • From: Daniel Ström <email@hidden>
  • Prev by Date: NSJavaVirtualMachine: Controlling the version of Java which is loaded
  • Next by Date: Re: Cocoa font question
  • Previous by thread: NSJavaVirtualMachine: Controlling the version of Java which is loaded
  • Next by thread: Re: A question I'm ashamed to ask
  • Index(es):
    • Date
    • Thread