View Single Post
  #4 (permalink)  
Old 07-22-2007, 11:19 PM
TeraTask's Avatar
TeraTask TeraTask is offline
PT Admin
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 3
Join Date: Jun 2007
Location: Reno, NV
Posts: 442
iTrader: (0)
TeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to behold
RPG said it well, let me state it simply:

Unsigned means no negative values
Signed means negative values are allowed.

When using a signed number, an extra bit is used for the +/- indication. To use memory most effectively, choose the appropriate type. Most of the time you won't notice any difference if you choose incorrectly, but your program will be more robust if you choose the proper type.

__________________
Jeremy Miller
Content Farmer - Optimized Automated Blog Posting

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
The Following 2 Users Say Thank You to TeraTask For This Useful Post:
HelloWorld (07-23-2007), Lee (07-23-2007)