又没有直接比较连个byte型数组的方法?该如何处理

又没有直接比较连个byte型数组的方法?
在vc中,如果有的话,请把头文件和.lib文件名贴上来,谢谢

------解决方案--------------------
函数名称: memcmp
函数原型: int memcmp(const void *s1, const void *s2,size_t n)
函数功能: 按字典顺序比较两个串s1和s2的前n个字节
函数返回: <0,=0,> 0分别表示s1 <,=,> s2
参数说明: s1,s2-要比较的字符串,n-比较的长度
所属文件: <string.h> , <mem.h>

#include <stdio.h>
#include <string.h>
int main()
{
char *buf1= "ABCDE123 ";
char *buf2= "abcde456 ";
int stat;
stat=memcmp(buf1,buf2,5);
printf( "The strings to position 5 are ");
if(stat) printf( "not ");
printf( "the same\n ");
return 0;
}
------解决方案--------------------
#include <algorithm>
using namespace std;

void main()
{
#define NUMLEN( A ) ( sizeof( A ) / sizeof( A[0] ) )
byte a[]={...};
byte b[]={...};
lexicographical_compare( a, NUMLEN( a ), b, NUMLEN( b ) );//返回值 <0,=0,> 0分别表示a <b,a=b,a> b
}