Thread: Signed and Unsigned in variables, including static type.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned
    Join Date
    Apr 2015
    Posts
    596

    Signed and Unsigned in variables, including static type.

    Hello, I find it hard to make a distinction between when I should write unsigned int(or any other types) or signed int or even just write int without any tags (singed/unsigned/static) before? we generally are not using those types but I'm curious for knowing why we use them (static/signed/unsigned), what is the goal of using them, and what are they standing for?
    Moreover, if you can give an practical example while explaining then would be appreciated much.


    thanks.
    Last edited by RyanC; 05-24-2015 at 05:16 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 07-24-2012, 10:41 AM
  2. Why can't 'float' variables be assigned to signed or unsigned?
    By cplusplusnoob in forum C++ Programming
    Replies: 2
    Last Post: 03-26-2012, 12:02 PM
  3. Type Convert (Static Array TO unsigned char ) Help.
    By userpingz in forum C++ Programming
    Replies: 1
    Last Post: 10-28-2009, 06:41 AM
  4. How to tell a type is signed or unsigned?
    By meili100 in forum C++ Programming
    Replies: 22
    Last Post: 05-08-2008, 08:21 PM
  5. Signed and unsigned
    By alyeska in forum C++ Programming
    Replies: 5
    Last Post: 09-18-2007, 12:27 PM