using the above structs as an example, comparing the name
member i know can be done like
but i'm not quite sure how to compare integers, because we are told
that comparison operators can't be used with struct members i.e
if(anything.age == crooks.age) //illegal ( or is it? )
if you can give me some examples on how to do this,
the more examples that you can show about comparing the struct members either char, int, or float.
will help a great deal