struct
{
int side;
}square1;
struct
{
int side;
}square2;
int main(int argc, char *argv[])
{
if(typeid(square1)==typeid(square2))
printf("Same.");
else
printf("Different.");
}
Subscribe to:
Post Comments (Atom)
Thoughts on Computers, Programming and OO Design.
No comments:
Post a Comment