is this possible.
a.a = 13;
a.b = 21;
(I wanted it to print "13", it means that self value is equal to 'a' property!)
Is this possible?? Thank you in advance!!
Not with printf(). With C++ and iostreams you can do this however.
cout << a;
will this print, a.a ?!
If you want to use it often in more than just cout and printf you might want to write a myclass::getSelf() function that returns 'a' (the member variable)