Re: volatile char



Get it, thanks a lot.

Best regards,
Boki.

"David Lowndes" <davidl@xxxxxxxxxxxxxxx>
???????:snnhc1hgjcvh11gloocnaib891mbnhl4c9@xxxxxxxxxx
>> I saw a keyword 'volatile' in a embedded system code.
>>Does that will use in VC? and What is that mean?
>
> volatile means that the value of the variable can change without the
> compiler knowing about it. It's of little (no) use in normal Win32
> user mode programming since it's almost always only useful in
> memory-mapped I/O situations.
>
> Dave
> --
> MVP VC++ FAQ: http://www.mvps.org/vcfaq


.



Relevant Pages