Problem regarding CCrect

Problem regarding CCrect
0.0 0


I am new to cococs2d-x programming

i have encountered a problem regarding CCRect

i wanted to know how to test intersection between two Rects. Also If i can get help in making rects.

in cocos2d it was simple but maybe due to syntax issues i am getting a problem here.

Thanks in advance. Sorry for my poor english