I am not able to give seperate meaning to ^ using #define, like #define ^ +.
But where as I am able to give meaning to $ using #define , like #define $ +.
Could you please let me know how $ is different from ^?
On which rule of c++ standard this ^ is not allowed?
I am using VC++ 2012, Not tried with GCC or any other tool.