About 3,840,000 results
Open links in new tab
  1. Is there 'byte' data type in C++? - Stack Overflow

    Aug 28, 2023 · @Ben: The C and C++ standards unambiguously define a "byte" as the size of a char, which is at least 8 bits. The term "byte" may be defined differently in other contexts, but when …

  2. Which C/C++ header file defines a BYTE data type?

    And one should add that it shouldn't be used. All of the all-caps integer/string types are useless code-uglification that serve only to make code unnecessarily tied to Windows. Simply use the …

  3. A byte type: std::byte vs std::uint8_t vs unsigned char vs char vs std ...

    Sep 13, 2023 · See also: Is there 'byte' data type in C++?, What is the purpose of std::byte?, P0298 - A byte type definition * unsigned char This is the closest thing to a "byte" there is prior to C++17. …

  4. what is type BYTE mean in c language? - Stack Overflow

    Jun 22, 2020 · The C language definition doesn't specify a BYTE type, so it depends on the specific compiler or library you are using. BYTE is most likely a typedef name for unsigned char (or uint8_t …

  5. Is the size of C "int" 2 bytes or 4 bytes? - Stack Overflow

    127 This is one of the points in C that can be confusing at first, but the C standard only specifies a minimum range for integer types that is guaranteed to be supported. int is guaranteed to be able to …

  6. About the Windows BYTE and PBYTES data types

    Nov 11, 2022 · PBYTE A pointer to a BYTE. This type is declared in WinDef.h as follows: typedef BYTE *PBYTE; There's also std::byte, which documents: std::byte is a distinct type that implements the …

  7. what does the byte datatype function return in C

    Jun 4, 2020 · The answer depends on what the code defines or typedefs byte to mean. It is likely to be typedef unsigned char byte; or something equivalent to that, but that is not certain. Most likely, the …

  8. How can I define a datatype with 1 bit size in C? - Stack Overflow

    Mar 30, 2014 · I want to define a datatype for boolean true/false value in C. Is there any way to define a datatype with 1 bit size to declare for boolean?

  9. encoding - C programming byte data type - Stack Overflow

    Mar 30, 2020 · I am doing a ctf and I have reversed and elf file and found the function that encodes the flag and i have made a decoder but because it is in c i cant use the byte data type. Is there any …

  10. Difference between byte vs Byte data types in C# [duplicate]

    The byte keyword is an alias for the System.Byte data type. They represent the same data type, so the resulting code is identical. There are only some differences in usage: You can use byte even if the …