This works perfectly for me.
Code:
#include<iostream>
#define PRINT(STR,VAR) \
std::cout<<STR<<"="<<VAR<<std::endl;
int main()
{
PRINT("Variable",10)
return 0;
}
I tried with VC++6.0 and VS2005

Bharani