MrShahi
16th July 2008, 12:26
Hello .........
I have a simple problem i.e I wana use a varriable globaly with register keyword ......
I mean to say
class Myclass
{
...........
register int value;
..............
}
but whenevr I compile it , It gives error
error: storage class specified for ‘value’
:confused:
I don't know what is wrong ????
anyone has any idea??????????????????????????????????:(
I have a simple problem i.e I wana use a varriable globaly with register keyword ......
I mean to say
class Myclass
{
...........
register int value;
..............
}
but whenevr I compile it , It gives error
error: storage class specified for ‘value’
:confused:
I don't know what is wrong ????
anyone has any idea??????????????????????????????????:(