struct _HCFS
{
DWORD HCFS;
struct _HCFS operator=( int val);
};
struct _HCFS hcfs;
hcfs = 1;
this is OK,
but I define
volotile struct _HCFS hcfs;
hcfs =1;
there is alway a compilation error, saying "no overloading function found
for left operator struct _HCFS.
any suggestions?
thanks
pat