In program is 2 structures with string fields. First Structure:
Private Structure A
Dim str1 as String
Dim str2 as String
Second Structure:
Private Structure B
Dim str1 as String
somewhere in code i assign it to array of
Dim a() as A
Dim b() as B
for Example in A we have name and surname in two string in B name and surname in one in result i need to compare composition of str1 and str2 of a() with str1 b(). in cpp this would be like
for(int i = 0; i < sizeA; i++)
{
for(int j = 0; j < sizeB;i++)
{
if(!(strcmp(strcat(a[i].str1,a[i].str2),b[j].str1)) printf("GOOD!");
}
}
strcmphas a return value that is actually useful. callingstrcmpwithout checking its return value is rather pointless.