Log in

View Full Version : declare static variable in a class



asylu3
25-03-2004, 01:20 AM
Hope this would be useful

class a
{
static int x;

}
int a::x=1;