about byte datatype in c

cpp Grenada
  • 14 years ago

    Is there any datatype called "byte" in C.If there plese explain me how to use it in C program.

  • 14 years ago

    "byte" data type in C is called "unsigned char".  Some header files typedef it as BYTE

    typedef unsigned char BYTE;

    How to use it?  very similar to signed char.  If you don't know how to use that either than you should buy a good introduction to c programming book.

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are only two kinds of languages: the ones people complain about and the ones nobody uses” - Bjarne Stroustrup