About 90 results
Open links in new tab
  1. std::byte - cppreference.com

    std::byte is a distinct type that implements the concept of byte as specified in the C++ language definition. Like unsigned char, it can be used to access raw memory occupied by other objects …

  2. cppreference.com

    What links here Related changes Upload file Special pages Printable version Permanent link Page information

  3. std::byteswap - cppreference.com

    Reverses the bytes in the given integer value n. std::byteswap participates in overload resolution only if T satisfies integral, i.e., T is an integer type. The program is ill-formed if T has padding bits.

  4. Null-terminated byte strings - cppreference.com

    A null-terminated byte string (NTBS) is a possibly empty sequence of nonzero bytes followed by a byte with value zero (the terminating null character). Each byte in a byte string encodes one character of …

  5. Null-terminated byte strings - cppreference.com

    A null-terminated byte string (NTBS) is a sequence of nonzero bytes followed by a byte with value zero (the terminating null character). Each byte in a byte string encodes one character of some character set.

  6. strncmp - cppreference.com

    Compares at most count characters of two possibly null-terminated arrays. The comparison is done lexicographically. Characters following the null character are not compared. The sign of the result is …

  7. strcpy, strcpy_s - cppreference.com

    1) Copies the null-terminated byte string pointed to by src, including the null terminator, to the character array whose first element is pointed to by dest.

  8. strchr - cppreference.com

    1) Finds the first occurrence of ch (after conversion to char as if by (char)ch) in the null-terminated byte string pointed to by str (each character interpreted as unsigned char). The terminating null character …

  9. Memory model - cppreference.com

    Similar to C, C++ supports bytes of sizes 8 bits and greater. The types char, unsigned char, and signed char use one byte for both storage and value representation. The number of bits in a byte is …

  10. std::atoi, std::atol, std::atoll - cppreference.com

    Interprets an integer value in a byte string pointed to by str. The implied radix is always 10. Discards any whitespace characters until the first non-whitespace character is found, then takes as many …