shaswat
Advanced Member level 4
- Joined
- Jul 2, 2013
- Messages
- 115
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 18
- Activity points
- 963
I tried to run a simple preprocessor code on my code-block 13.12 IDE. But it shows an error
Here is the piece of code:
Even I am not using any structure and union in my code...
Any help?
Code:
error: request for member 'b' in something not a structure or union|
Here is the piece of code:
Code:
#define CUBE(x) (x.x.x)
main()
{
int a, b=3 ;
a = CUBE(b++);
printf ( "\n%d %d", a, b ) ;
}
Even I am not using any structure and union in my code...
Any help?