Thread: What is size_t?

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    37

    What is size_t?

    What is size_t and when do you use it. I can't find any info about it in my books.

  2. #2
    the Wizard
    Join Date
    Aug 2004
    Posts
    109
    Try googling it.
    That helps alot, when you books fail.

    Good luck with your research
    Last edited by MipZhaP; 02-26-2005 at 07:44 AM.
    -//Marc Poulsen -//MipZhaP

    He sat down, he programmed, he got an error...

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    11

    Smile

    using sizeof operator to determine the size of an array( or of any other data type , variable or constant) in bytes during program compilation.The sizeof operator return the total number of bytes in the array as a value of type size_t (which usually unsigned int)

    good luck
    Last edited by silent_eyes; 02-27-2005 at 05:11 AM.

Popular pages Recent additions subscribe to a feed