About 50 results
Open links in new tab
  1. Difference between size and length methods? - Stack Overflow

    Nov 25, 2013 · What is the difference between .size() and .length ? Is .size() only for arraylists and .length only for arrays?

  2. What does the C++ standard say about the size of int, long?

    If the size of the int is that important one can use int16_t, int32_t and int64_t (need the iostream include for that if I remember correctly). What's nice about this that int64_t should not have issues on a 32bit …

  3. python 3.x - Difference between len and size - Stack Overflow

    Aug 28, 2019 · I found two ways to determine how many elements are in a variable… I always get the same values for len () and size (). Is there a difference? Could size () have come with an imported …

  4. python - size of NumPy array - Stack Overflow

    I'm really curious why shape is an attribute of arrays and a function in the numpy model but not a method of array objects. Is there an obvious answer? Does it feel like it merits a separate SO …

  5. What's the difference between size_t and int in C++?

    In several C++ examples I see a use of the type size_t where I would have used a simple int. What's the difference, and why size_t should be better?

  6. What's sizeof(size_t) on 32-bit vs the various 64-bit data models?

    size_t cannot be the same as an unsigned char. 7.18.3.2 says that size_t must have a minimum maximum value of 65535. Having 64-bit pointers just means that the underlying architecture supports …

  7. c - size of uint8, uint16 and uint32? - Stack Overflow

    I am working with code that uses types like uint8 (1 byte wide unsigned integer), uint16 (2 byte wide unsigned integer), uint32 (4 byte wide unsigned integer), etc.. My questions are: Are uint8 an...

  8. Make just one slide different size in Powerpoint - Stack Overflow

    Feb 5, 2014 · Make just one slide different size in Powerpoint Asked 12 years, 1 month ago Modified 5 years, 1 month ago Viewed 195k times

  9. c++ - What is the size of a pointer? - Stack Overflow

    Closed 3 years ago. Is the size of a pointer the same as the size as the type it's pointing to, or do pointers always have a fixed size? For example...

  10. c++ - When to use std::size_t? - Stack Overflow

    Dec 23, 2009 · 82 size_t is the result type of the sizeof operator. Use size_t for variables that model size or index in an array. size_t conveys semantics: you immediately know it represents a size in bytes or …