CMPT 212
Fall 1997
|
Read chapter 9 from C++ Primer Plus (2nd ed.), by Stephen Prata. |
myInt = 3 + (int) myFloat; onePtr = (MyStruct *) twoPtr;
myInt = 3 + int(myFloat);
x = sizeof pi; y = sizeof(myStruct);
size_t x = sizeof pi; size_t y = sizeof(myStruct);
Return to lecture notes index |
|
This page is maintained by simpson@cs.sfu.ca. | Last updated on 6 Oct 1997. |