I just had this with the latest and greatest of gcc and minwin and Eclipse (IDE) when compiling a simple win32 "Hello" program that pops up a window with a button.
And as a follow up, as a practical matter, if you don't use multiple inheritence, will the results of reinterpret_cast and static/dynamic_cast ever differ on various compilers? I.e. will the base...
Let's suppose I have an array of a base class, but it's filled with derived classes. I'll use only one derived class, but suppose there are several types.
Why even use a float or double to begin with? Fixed-level math can better be done with integers, and then only needs to be converted to decimal in the output.
/* Surprisingly, it doesn't produce zeros while I type; rather it produces some wierd characters that look
half like zeros and half like smileys. And...
In this trivial case, where only member variables are set, then yes, the initializer list is fine. For non-trivial cases where other work is done, say calculations or initializations of more complex...
Four years ago I played Java versions of Space Invaders and Asteroids, and they looked better, and played just as well as, anything in an arcade 20 years ago.
I suppose the professor was teaching the use of a stack to reverse things, but I don't know how much "deep understanding" will be gained by it. Plus it is an extremely klunky looking implementation....
Unfortunately making a function call is not viable. This is a very large project, and that is in a part of code shared with other project. Literally, not figuratively, hundreds of files would be...