Populating an array with data from in ifstreamWhen loading files into memory, I prefer to localise filestreams inside a function. Alongside this, ...
Problem Testing values of 2D ArrayHi Andy, When I said "size - 1" I didn't mean in the for loop, though I probably should have stated...
Problem Testing values of 2D ArrayFirst off: [code]for (int r = 1; r < 18; r++)[/code] is going out of bounds on the array, arrays st...
operator overloadingOr you can define the overloads as friend functions: [code] #include <iostream> class Box { privat...
a^b digit calculation with big numbersBecause the number is so long the number gets truncated to what I guess is a standard form for big n...