#define S(x) (cout<<#x<<endl)
Using # will print whatever string, int, float I place in S(x).
For example:
S(Door Class Default Constructor);
will print
Door Class Default Constructor
I Wasn't able to find any documentation regarding it.
Explain how is it able to do so.