• 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
newbie - int and unsigned int
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

newbie - int and unsigned int


  • Subject: newbie - int and unsigned int
  • From: justin webster <email@hidden>
  • Date: Mon, 17 May 2004 11:57:37 +1200

I cant figure out how to turn an int into an unsigned int.
i.e. get the value of the int without its plus/minus sign.

i'm trying something like this:

int myNewInt = integerOne + [(integerTwo - integerThree) unsignedIntValue];

and failing.

sorry 'bout the newbie question but i'm new to C and the apple documentation assumes a knowledge of C.
_______________________________________________
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.


  • Follow-Ups:
    • Re: newbie - int and unsigned int
      • From: David Reed <email@hidden>
    • Re: newbie - int and unsigned int
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Recuperating after NS_HANDLER
  • Next by Date: Re: Threading question
  • Previous by thread: Views from a Bundle not becoming active
  • Next by thread: Re: newbie - int and unsigned int
  • Index(es):
    • Date
    • Thread