Friday, February 19, 2010

value is assigned

the value of the integer at 0x40:0x28

(Remember, 20 * sizeof(int) = 40 = 0x28).

Q. Can I statically allocate more than 64K of data in a single module?

A. Yes. Far data items are now supported:

...

char far array1[60000L];

char far array2[60000L];

...

For arrays larger than 64k use:

char huge array3[100000L];

Q. What is a friend member function?

A. Declaring a friend gives non-members of a class access to the

non-public members of a class.

Q. Why do I get a "Type name expected" error on my definition of a

friend class in my new class?

A You need to let the compiler know that the label you use for your

friend class is another class. If you do not want to define your

entire class, you can simply have "class xxx",

No comments:

Post a Comment