microsoft pisze o tym tak:
http://msdn.microsoft.com/
Syntax
int StrCmp(LPCTSTR lpStr1,LPCTSTR lpStr2);
Parameters
lpStr1
[in] Pointer to the first null-terminated string to be compared.
lpStr2
[in] Pointer to the second null-terminated string to be compared.
Return Value
Returns zero if the strings are identical. Returns a positive value if the string pointed to by lpStr1 is greater than that pointed to by lpStr2. Returns a negative value if the string pointed to by lpStr1 is less than that pointed to by lpStr2.
Czyli twoj fragment porownujacy powinien wygladac mniej wiecej tak:
if (! StrCmp(bufor1,bufor2) ) cout<<"sa taie same"
else cout<<"sa rozne"