Changes

Jump to: navigation, search

BTP300

5 bytes added, 21:26, 20 September 2013
Learning C++/C Programming
* Is sizeof in C++ evaluated at compilation time or run time? [http://stackoverflow.com/questions/2615203/is-sizeof-in-c-evaluated-at-compilation-time-or-run-time]
* ptrdiff_t is supposed to be used when doing '''pointer subtraction'''. But in this example,(class demo program "pointerSubtraction.cpp" on matrix.senecac.on.ca) an int will work just fine storing the subtraction result. Reason:[http://www.cplusplus.com/reference/cstddef/ptrdiff_t/](Yiqi Liu)
== Workshops Q & A ==
1
edit

Navigation menu