User profile: Disch

User info
User name:Disch
Bio:People actually look at these profiles?
Number of posts:13502
Latest posts:

Postfix Vs. Prefix
[quote=Peter87]I like to think of ++x as being at least as fast, and sometimes faster than x++ so th...

While Loop Does Not End
The actual error would come from the following else a few lines below it.

overloading [] operator
Well of course... using a vector kind of defeats the point of writing a dynamic array class... since...

overloading [] operator
[quote]but how do i do that if the array name and size isnt fixed?[/quote] None of that matters. Y...

overloading [] operator
[code] int& IntArray::operator[](int i) { return i; }[/code] 'i' is your index, right? So if i=...