Thread: size

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    70

    size

    how to know what's the size of this 153,000,200 ?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Ask a proper question and you may get a proper answer.

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    70
    ok,i'm sorry

    when i go to the command prompt in my pc? i typed dir. it came out the number 153,000,200?

    it represents 1 giga or what? i'm newbiez in pc

  4. #4
    Registered User
    Join Date
    Nov 2004
    Location
    USA
    Posts
    516
    considering it is the number at the end, it must be the number of bytes, you can divide it by 1024 to know the number of kilobytes, divide that further by 1024 to get the number of megabytes, and divide it further by 1024 to get the number of gigabytes.

    P.S. in the dos prompt, it shows up that the number is the number of bytes. check properly.
    Last edited by PING; 02-16-2005 at 07:09 AM.
    Code:
    >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code review
    By Elysia in forum C++ Programming
    Replies: 71
    Last Post: 05-13-2008, 09:42 PM
  2. Pointer Size Relative To Integers?
    By SMurf in forum C Programming
    Replies: 1
    Last Post: 04-18-2006, 06:58 AM
  3. Invalid conversion from 'void*' to 'BYTE' help
    By bikr692002 in forum C++ Programming
    Replies: 9
    Last Post: 02-22-2006, 11:27 AM
  4. An exercise in optimization
    By Prelude in forum Contests Board
    Replies: 10
    Last Post: 04-29-2005, 03:06 PM