Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


[Neighborhoods ]VC++ China and the Commonwealth of union structure struct distinction ~ ~

If that ~ ~
I feel that these two self-defined data types, like the role of the older students help explain ~ ~ ~ ~ Thank you, please

[Neighborhoods ]VC++ China and the Commonwealth of union structure struct distinction ~ ~

From memory space, occupied by a struct alignment principles based on the total size of the room, and the union all the elements to occupy the same space. So while not on the union of two or more variables literacy. To save space the past. Will not a basic right? Even the big projects have been done, they did not know.

[Neighborhoods ]VC++ China and the Commonwealth of union structure struct distinction ~ ~

This is a big difference between the two, using UNION of a variable.

[Neighborhoods ]VC++ China and the Commonwealth of union structure struct distinction ~ ~

The union is also very useful when there may be a lot of data types, the usual definition of the use of union, the union through other parameters should be used to determine which of these types of data.
Semctl () is a good example.

[Neighborhoods ]VC++ China and the Commonwealth of union structure struct distinction ~ ~

Union with a very appropriate in such a case is that you sometimes interpreted as some type of the data from one type into another, they need to understand.

[Neighborhoods ]VC++ China and the Commonwealth of union structure struct distinction ~ ~

Oh, thank withheld exhibitions.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com